pub enum KeyEventKind {
Press,
Repeat,
Release,
}Expand description
The type of key event.
Variants§
Press
Key was pressed (default when not distinguishable).
Repeat
Key is being held (repeat event).
Release
Key was released.
Trait Implementations§
Source§impl Clone for KeyEventKind
impl Clone for KeyEventKind
impl Copy for KeyEventKind
Source§impl Debug for KeyEventKind
impl Debug for KeyEventKind
Source§impl Default for KeyEventKind
impl Default for KeyEventKind
impl Eq for KeyEventKind
Source§impl Hash for KeyEventKind
impl Hash for KeyEventKind
Source§impl PartialEq for KeyEventKind
impl PartialEq for KeyEventKind
impl StructuralPartialEq for KeyEventKind
Auto Trait Implementations§
impl Freeze for KeyEventKind
impl RefUnwindSafe for KeyEventKind
impl Send for KeyEventKind
impl Sync for KeyEventKind
impl Unpin for KeyEventKind
impl UnsafeUnpin for KeyEventKind
impl UnwindSafe for KeyEventKind
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