Struct input_linux::KeyState
source · #[repr(transparent)]pub struct KeyState {
pub value: i32,
}
Expand description
Key event value states.
Fields§
§value: i32
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for KeyStateSuper
impl<'de> Deserialize<'de> for KeyStateSuper
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for KeyState
impl Ord for KeyState
source§impl PartialEq<KeyState> for KeyState
impl PartialEq<KeyState> for KeyState
source§impl PartialOrd<KeyState> for KeyState
impl PartialOrd<KeyState> for KeyState
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more