pub struct WlPointerAxis(pub u32);Expand description
axis types
Describes the axis types of scroll events.
Tuple Fields§
§0: u32Implementations§
Source§impl WlPointerAxis
impl WlPointerAxis
Sourcepub const VERTICAL_SCROLL: Self
pub const VERTICAL_SCROLL: Self
vertical axis
Sourcepub const HORIZONTAL_SCROLL: Self
pub const HORIZONTAL_SCROLL: Self
horizontal axis
Trait Implementations§
Source§impl Clone for WlPointerAxis
impl Clone for WlPointerAxis
Source§fn clone(&self) -> WlPointerAxis
fn clone(&self) -> WlPointerAxis
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 Debug for WlPointerAxis
impl Debug for WlPointerAxis
Source§impl Hash for WlPointerAxis
impl Hash for WlPointerAxis
Source§impl Ord for WlPointerAxis
impl Ord for WlPointerAxis
Source§fn cmp(&self, other: &WlPointerAxis) -> Ordering
fn cmp(&self, other: &WlPointerAxis) -> 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 WlPointerAxis
impl PartialEq for WlPointerAxis
Source§impl PartialOrd for WlPointerAxis
impl PartialOrd for WlPointerAxis
impl Copy for WlPointerAxis
impl Eq for WlPointerAxis
impl StructuralPartialEq for WlPointerAxis
Auto Trait Implementations§
impl Freeze for WlPointerAxis
impl RefUnwindSafe for WlPointerAxis
impl Send for WlPointerAxis
impl Sync for WlPointerAxis
impl Unpin for WlPointerAxis
impl UnwindSafe for WlPointerAxis
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