pub struct WlPointerAxisRelativeDirection(pub u32);Expand description
axis relative direction
This specifies the direction of the physical motion that caused a wl_pointer.axis event, relative to the wl_pointer.axis direction.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
Source§impl Clone for WlPointerAxisRelativeDirection
impl Clone for WlPointerAxisRelativeDirection
Source§fn clone(&self) -> WlPointerAxisRelativeDirection
fn clone(&self) -> WlPointerAxisRelativeDirection
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 Ord for WlPointerAxisRelativeDirection
impl Ord for WlPointerAxisRelativeDirection
Source§fn cmp(&self, other: &WlPointerAxisRelativeDirection) -> Ordering
fn cmp(&self, other: &WlPointerAxisRelativeDirection) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WlPointerAxisRelativeDirection
impl PartialEq for WlPointerAxisRelativeDirection
Source§fn eq(&self, other: &WlPointerAxisRelativeDirection) -> bool
fn eq(&self, other: &WlPointerAxisRelativeDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WlPointerAxisRelativeDirection
impl PartialOrd for WlPointerAxisRelativeDirection
impl Copy for WlPointerAxisRelativeDirection
impl Eq for WlPointerAxisRelativeDirection
impl StructuralPartialEq for WlPointerAxisRelativeDirection
Auto Trait Implementations§
impl Freeze for WlPointerAxisRelativeDirection
impl RefUnwindSafe for WlPointerAxisRelativeDirection
impl Send for WlPointerAxisRelativeDirection
impl Sync for WlPointerAxisRelativeDirection
impl Unpin for WlPointerAxisRelativeDirection
impl UnwindSafe for WlPointerAxisRelativeDirection
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