pub enum KeySpec {
Escape,
Enter,
Space,
ArrowUp,
ArrowDown,
ArrowLeft,
ArrowRight,
Function(u8),
Character(char),
Other(u32),
}Expand description
Variants§
Implementations§
Trait Implementations§
impl Copy for KeySpec
impl Eq for KeySpec
impl StructuralPartialEq for KeySpec
Auto Trait Implementations§
impl Freeze for KeySpec
impl RefUnwindSafe for KeySpec
impl Send for KeySpec
impl Sync for KeySpec
impl Unpin for KeySpec
impl UnsafeUnpin for KeySpec
impl UnwindSafe for KeySpec
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