Enum keyboard_types::KeyState
source · pub enum KeyState {
Down,
Up,
}
Expand description
Describes the state the key is in.
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for KeyState
impl<'de> Deserialize<'de> for KeyState
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<KeyState> for KeyState
impl PartialEq<KeyState> for KeyState
impl Copy for KeyState
impl Eq for KeyState
impl StructuralEq for KeyState
impl StructuralPartialEq for KeyState
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§
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