pub enum Key {
Show 98 variants
LA,
LB,
LC,
LD,
LE,
LF,
LG,
LH,
LI,
LJ,
LK,
LL,
LM,
LN,
LO,
LP,
LQ,
LR,
LS,
LT,
LU,
LV,
LW,
LX,
LY,
LZ,
UA,
UB,
UC,
UD,
UE,
UF,
UG,
UH,
UI,
UJ,
UK,
UL,
UM,
UN,
UO,
UP,
UQ,
UR,
US,
UT,
UU,
UV,
UW,
UX,
UY,
UZ,
N0,
N1,
N2,
N3,
N4,
N5,
N6,
N7,
N8,
N9,
F1,
F2,
F3,
F4,
F5,
F6,
F7,
F8,
F9,
F10,
F11,
F12,
Backspace,
Enter,
Left,
Right,
Up,
Down,
Home,
End,
PageUp,
PageDown,
Tab,
BackTab,
Delete,
Insert,
Esc,
Ctrl,
Alt,
Shift,
Space,
Null,
Colon,
SimiColon,
Caret,
Char(char),
}Variants§
LA
LB
LC
LD
LE
LF
LG
LH
LI
LJ
LK
LL
LM
LN
LO
LP
LQ
LR
LS
LT
LU
LV
LW
LX
LY
LZ
UA
UB
UC
UD
UE
UF
UG
UH
UI
UJ
UK
UL
UM
UN
UO
UP
UQ
UR
US
UT
UU
UV
UW
UX
UY
UZ
N0
N1
N2
N3
N4
N5
N6
N7
N8
N9
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
Backspace
Enter
Left
Right
Up
Down
Home
End
PageUp
PageDown
Tab
BackTab
Delete
Insert
Esc
Ctrl
Alt
Shift
Space
Null
Colon
SimiColon
Caret
Char(char)
Implementations§
Trait Implementations§
Source§impl From<KeyModifiers> for Key
impl From<KeyModifiers> for Key
Source§fn from(key: KeyModifiers) -> Self
fn from(key: KeyModifiers) -> Self
Converts to this type from the input type.
impl Copy for Key
impl Eq for Key
impl StructuralPartialEq for Key
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