pub enum Key {
}Variants§
Enter
Both Enter (or Return) and numpad Enter
Tab
Tabulation key
Backspace
Backspace key
Esc
Escape key
Left
Left arrow
Right
Right arrow
Up
Up arrow
Down
Down arrow
Ins
Insert key
Delete
Delete key
Home
Home key
End
End key
PageUp
Page Up key
PageDown
Page Down key
F0
F0 key
F1
F1 key
F2
F2 key
F3
F3 key
F4
F4 key
F5
F5 key
F6
F6 key
F7
F7 key
F8
F8 key
F9
F9 key
F10
F10 key
F11
F11 key
F12
F12 key
Char(char)
Ctrl(char)
Alt(char)
Unknown
Implementations§
Trait Implementations§
impl Copy for Key
impl Eq for Key
impl StructuralEq for Key
impl StructuralPartialEq for Key
Auto Trait Implementations§
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