#[repr(u32)]pub enum SDL_MouseWheelDirection {
SDL_MOUSEWHEEL_NORMAL = 0,
SDL_MOUSEWHEEL_FLIPPED = 1,
}
Expand description
\brief Scroll direction types for the Scroll event
Variants§
SDL_MOUSEWHEEL_NORMAL = 0
< The scroll direction is normal
SDL_MOUSEWHEEL_FLIPPED = 1
< The scroll direction is flipped / natural
Trait Implementations§
Source§impl Clone for SDL_MouseWheelDirection
impl Clone for SDL_MouseWheelDirection
Source§fn clone(&self) -> SDL_MouseWheelDirection
fn clone(&self) -> SDL_MouseWheelDirection
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Hash for SDL_MouseWheelDirection
impl Hash for SDL_MouseWheelDirection
Source§impl PartialEq for SDL_MouseWheelDirection
impl PartialEq for SDL_MouseWheelDirection
impl Copy for SDL_MouseWheelDirection
impl Eq for SDL_MouseWheelDirection
impl StructuralPartialEq for SDL_MouseWheelDirection
Auto Trait Implementations§
impl Freeze for SDL_MouseWheelDirection
impl RefUnwindSafe for SDL_MouseWheelDirection
impl Send for SDL_MouseWheelDirection
impl Sync for SDL_MouseWheelDirection
impl Unpin for SDL_MouseWheelDirection
impl UnwindSafe for SDL_MouseWheelDirection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more