#[repr(u32)]
pub enum SDL_MouseWheelDirection {
SDL_MOUSEWHEEL_NORMAL,
SDL_MOUSEWHEEL_FLIPPED,
}
Expand description
\brief Scroll direction types for the Scroll event
Variants
SDL_MOUSEWHEEL_NORMAL
< The scroll direction is normal
SDL_MOUSEWHEEL_FLIPPED
< The scroll direction is flipped / natural
Trait Implementations
sourceimpl Clone for SDL_MouseWheelDirection
impl Clone for SDL_MouseWheelDirection
sourcefn clone(&self) -> SDL_MouseWheelDirection
fn clone(&self) -> SDL_MouseWheelDirection
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SDL_MouseWheelDirection
impl Debug for SDL_MouseWheelDirection
sourceimpl Hash for SDL_MouseWheelDirection
impl Hash for SDL_MouseWheelDirection
sourceimpl PartialEq<SDL_MouseWheelDirection> for SDL_MouseWheelDirection
impl PartialEq<SDL_MouseWheelDirection> for SDL_MouseWheelDirection
sourcefn eq(&self, other: &SDL_MouseWheelDirection) -> bool
fn eq(&self, other: &SDL_MouseWheelDirection) -> bool
impl Copy for SDL_MouseWheelDirection
impl Eq for SDL_MouseWheelDirection
impl StructuralEq for SDL_MouseWheelDirection
impl StructuralPartialEq for SDL_MouseWheelDirection
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more