Enum sdl2_sys::SDL_MouseWheelDirection
source · [−]#[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 more
sourceimpl Debug for SDL_MouseWheelDirection
impl Debug for SDL_MouseWheelDirection
sourceimpl Hash for SDL_MouseWheelDirection
impl Hash for SDL_MouseWheelDirection
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more