Enum keycodes_ascii::KeyAction
source · pub enum KeyAction {
Pressed,
Released,
}
Expand description
Whether a keyboard event was a key press or a key released.
Variants§
Trait Implementations§
source§impl PartialEq<KeyAction> for KeyAction
impl PartialEq<KeyAction> for KeyAction
impl Copy for KeyAction
impl StructuralPartialEq for KeyAction
Auto Trait Implementations§
impl RefUnwindSafe for KeyAction
impl Send for KeyAction
impl Sync for KeyAction
impl Unpin for KeyAction
impl UnwindSafe for KeyAction
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