[][src]Enum sdl2::mouse::MouseWheelDirection

pub enum MouseWheelDirection {
    Normal,
    Flipped,
    Unknown(u32),
}

Variants

Normal
Flipped
Unknown(u32)

Methods

impl MouseWheelDirection[src]

\brief Scroll direction types for the Scroll event

pub fn from_ll(direction: u32) -> MouseWheelDirection[src]

pub fn to_ll(self) -> u32[src]

Trait Implementations

impl Clone for MouseWheelDirection[src]

impl Copy for MouseWheelDirection[src]

impl Debug for MouseWheelDirection[src]

impl Eq for MouseWheelDirection[src]

impl Hash for MouseWheelDirection[src]

impl PartialEq<MouseWheelDirection> for MouseWheelDirection[src]

impl StructuralEq for MouseWheelDirection[src]

impl StructuralPartialEq for MouseWheelDirection[src]

Auto Trait Implementations

impl RefUnwindSafe for MouseWheelDirection

impl Send for MouseWheelDirection

impl Sync for MouseWheelDirection

impl Unpin for MouseWheelDirection

impl UnwindSafe for MouseWheelDirection

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.