pub enum Key {
}Expand description
Represents different keyboard keys
Variants§
Backspace
Backspace key
Enter
Enter (Return) key
Left
Left arrow key
Right
Right arrow key
Up
Up arrow key
Down
Down arrow key
Home
Home key
End
End key
PageUp
Page Up key
PageDown
Page Down key
Tab
Tab key
BackTab
Shift+Tab key
Delete
Delete key
Insert
Insert key
F(u8)
Function keys from F1 to F12
Char(char)
All the character keys
Esc
Esc key
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Key
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnwindSafe for Key
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