Enum smithay_client_toolkit::seat::keyboard::KeyState [−][src]
#[repr(u32)] #[non_exhaustive] pub enum KeyState { Released, Pressed, }
physical key state
Describes the physical state of a key that produced the key event.
Variants (Non-exhaustive)
key is not pressed
key is pressed
Implementations
impl KeyState
[src][−]
Trait Implementations
impl Clone for KeyState
[src][+]
impl Copy for KeyState
[src]
impl Debug for KeyState
[src][+]
impl PartialEq<KeyState> for KeyState
[src][+]
impl StructuralPartialEq for KeyState
[src]
Auto Trait Implementations
impl RefUnwindSafe for KeyState
impl Send for KeyState
impl Sync for KeyState
impl Unpin for KeyState
impl UnwindSafe for KeyState
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,