pub enum Key {
Show 64 variants
None = 0,
ESC = 1,
One = 2,
Two = 3,
Three = 4,
Four = 5,
Five = 6,
Six = 7,
Seven = 8,
Eight = 9,
Nine = 10,
Zero = 11,
Minus = 12,
Equal = 13,
BackSpace = 14,
Tab = 15,
Q = 16,
W = 17,
E = 18,
R = 19,
T = 20,
Y = 21,
U = 22,
I = 23,
O = 24,
P = 25,
LSB = 26,
RSB = 27,
Enter = 28,
LCTRL = 29,
A = 30,
S = 31,
D = 32,
F = 33,
G = 34,
H = 35,
J = 36,
K = 37,
L = 38,
Colon = 39,
SineglePoint = 40,
Point = 41,
LSHIFT = 42,
BackSlash = 43,
Z = 44,
X = 45,
C = 46,
V = 47,
B = 48,
N = 49,
M = 50,
Comma = 51,
Dot = 52,
Slash = 53,
RSHIFT = 54,
DPSTAR = 55,
LALT = 56,
Space = 57,
CAPS = 58,
MouseScrollDown = 336,
MouseScrollUp = 337,
MouseLeft = 272,
MouseRight = 273,
MouseMid = 274,
}
Variants§
None = 0
ESC = 1
One = 2
Two = 3
Three = 4
Four = 5
Five = 6
Six = 7
Seven = 8
Eight = 9
Nine = 10
Zero = 11
Minus = 12
Equal = 13
BackSpace = 14
Tab = 15
Q = 16
W = 17
E = 18
R = 19
T = 20
Y = 21
U = 22
I = 23
O = 24
P = 25
LSB = 26
RSB = 27
Enter = 28
LCTRL = 29
A = 30
S = 31
D = 32
F = 33
G = 34
H = 35
J = 36
K = 37
L = 38
Colon = 39
SineglePoint = 40
Point = 41
LSHIFT = 42
BackSlash = 43
Z = 44
X = 45
C = 46
V = 47
B = 48
N = 49
M = 50
Comma = 51
Dot = 52
Slash = 53
RSHIFT = 54
DPSTAR = 55
LALT = 56
Space = 57
CAPS = 58
MouseScrollDown = 336
MouseScrollUp = 337
MouseLeft = 272
MouseRight = 273
MouseMid = 274
Implementations§
Trait Implementations§
impl Copy 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