#[repr(transparent)]pub struct SDL_MouseWheelDirection(pub c_uint);Expand description
Scroll direction types for the Scroll event
Available Since: This enum is available since SDL 3.2.0.
Tuple Fields§
§0: c_uintImplementations§
Source§impl SDL_MouseWheelDirection
impl SDL_MouseWheelDirection
Sourcepub const SDL_MOUSEWHEEL_NORMAL: SDL_MouseWheelDirection
pub const SDL_MOUSEWHEEL_NORMAL: SDL_MouseWheelDirection
< The scroll direction is normal
Sourcepub const SDL_MOUSEWHEEL_FLIPPED: SDL_MouseWheelDirection
pub const SDL_MOUSEWHEEL_FLIPPED: SDL_MouseWheelDirection
< 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 duplicate 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 Debug for SDL_MouseWheelDirection
impl Debug for SDL_MouseWheelDirection
Source§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 UnsafeUnpin 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