pub struct WlPointerButtonState(pub u32);Expand description
physical button state
Describes the physical state of a button that produced the button event.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
Source§impl Clone for WlPointerButtonState
impl Clone for WlPointerButtonState
Source§fn clone(&self) -> WlPointerButtonState
fn clone(&self) -> WlPointerButtonState
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 WlPointerButtonState
impl Debug for WlPointerButtonState
Source§impl Hash for WlPointerButtonState
impl Hash for WlPointerButtonState
Source§impl Ord for WlPointerButtonState
impl Ord for WlPointerButtonState
Source§fn cmp(&self, other: &WlPointerButtonState) -> Ordering
fn cmp(&self, other: &WlPointerButtonState) -> 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 WlPointerButtonState
impl PartialEq for WlPointerButtonState
Source§impl PartialOrd for WlPointerButtonState
impl PartialOrd for WlPointerButtonState
impl Copy for WlPointerButtonState
impl Eq for WlPointerButtonState
impl StructuralPartialEq for WlPointerButtonState
Auto Trait Implementations§
impl Freeze for WlPointerButtonState
impl RefUnwindSafe for WlPointerButtonState
impl Send for WlPointerButtonState
impl Sync for WlPointerButtonState
impl Unpin for WlPointerButtonState
impl UnwindSafe for WlPointerButtonState
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