pub struct WlKeyboardKeyState(pub u32);Expand description
physical key state
Describes the physical state of a key that produced the key event.
Since version 10, the key can be in a “repeated” pseudo-state which means the same as “pressed”, but is used to signal repetition in the key event.
The key may only enter the repeated state after entering the pressed state and before entering the released state. This event may be generated multiple times while the key is down.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
Source§impl Clone for WlKeyboardKeyState
impl Clone for WlKeyboardKeyState
Source§fn clone(&self) -> WlKeyboardKeyState
fn clone(&self) -> WlKeyboardKeyState
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 WlKeyboardKeyState
impl Debug for WlKeyboardKeyState
Source§impl Hash for WlKeyboardKeyState
impl Hash for WlKeyboardKeyState
Source§impl Ord for WlKeyboardKeyState
impl Ord for WlKeyboardKeyState
Source§fn cmp(&self, other: &WlKeyboardKeyState) -> Ordering
fn cmp(&self, other: &WlKeyboardKeyState) -> 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 WlKeyboardKeyState
impl PartialEq for WlKeyboardKeyState
Source§impl PartialOrd for WlKeyboardKeyState
impl PartialOrd for WlKeyboardKeyState
impl Copy for WlKeyboardKeyState
impl Eq for WlKeyboardKeyState
impl StructuralPartialEq for WlKeyboardKeyState
Auto Trait Implementations§
impl Freeze for WlKeyboardKeyState
impl RefUnwindSafe for WlKeyboardKeyState
impl Send for WlKeyboardKeyState
impl Sync for WlKeyboardKeyState
impl Unpin for WlKeyboardKeyState
impl UnwindSafe for WlKeyboardKeyState
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