Enum sdl2::mouse::MouseWheelDirection
source · pub enum MouseWheelDirection {
Normal,
Flipped,
Unknown(u32),
}
Variants§
Implementations§
source§impl MouseWheelDirection
impl MouseWheelDirection
\brief Scroll direction types for the Scroll event
Trait Implementations§
source§impl Clone for MouseWheelDirection
impl Clone for MouseWheelDirection
source§fn clone(&self) -> MouseWheelDirection
fn clone(&self) -> 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 Debug for MouseWheelDirection
impl Debug for MouseWheelDirection
source§impl Hash for MouseWheelDirection
impl Hash for MouseWheelDirection
source§impl PartialEq for MouseWheelDirection
impl PartialEq for MouseWheelDirection
impl Copy for MouseWheelDirection
impl Eq for MouseWheelDirection
impl StructuralPartialEq for MouseWheelDirection
Auto Trait Implementations§
impl Freeze for MouseWheelDirection
impl RefUnwindSafe for MouseWheelDirection
impl Send for MouseWheelDirection
impl Sync for MouseWheelDirection
impl Unpin for MouseWheelDirection
impl UnwindSafe for 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)