pub enum Key {
Show 87 variants
Ctrl,
Shift,
Alt,
Super,
A,
B,
C,
D,
E,
F,
G,
H,
I,
J,
K,
L,
M,
N,
O,
P,
Q,
R,
S,
T,
U,
V,
W,
X,
Y,
Z,
F1,
F2,
F3,
F4,
F5,
F6,
F7,
F8,
F9,
F10,
F11,
F12,
D0,
D1,
D2,
D3,
D4,
D5,
D6,
D7,
D8,
D9,
N0,
N1,
N2,
N3,
N4,
N5,
N6,
N7,
N8,
N9,
Plus,
Minus,
Equal,
Star,
Slash,
Backslash,
Esc,
Tab,
CapsLock,
NumLock,
Space,
Enter,
Backspace,
Delete,
Left,
Right,
Up,
Down,
PlayPause,
Prev,
Next,
Stop,
VolumeUp,
VolumeDown,
Mute,
}Variants§
Ctrl
Shift
Alt
Super
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
N0
N1
N2
N3
N4
N5
N6
N7
N8
N9
Plus
Minus
Equal
Star
Slash
Backslash
Esc
Tab
CapsLock
NumLock
Space
Enter
Backspace
Delete
Left
Right
Up
Down
PlayPause
Prev
Next
Stop
VolumeUp
VolumeDown
Mute
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Key
impl<'de> Deserialize<'de> for Key
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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