#[repr(u32)]pub enum KeyCode {
Show 47 variants
F1 = 65_470,
F2 = 65_471,
F3 = 65_472,
Space = 32,
A = 97,
B = 98,
C = 99,
D = 100,
E = 101,
F = 102,
G = 103,
H = 104,
I = 105,
J = 106,
K = 107,
L = 108,
M = 109,
N = 110,
O = 111,
P = 112,
Q = 113,
R = 114,
S = 115,
T = 116,
U = 117,
V = 118,
W = 119,
X = 120,
Y = 121,
Z = 122,
Key0 = 48,
Key1 = 49,
Key2 = 50,
Key3 = 51,
Key4 = 52,
Escape = 65_307,
Enter = 65_293,
Tab = 65_289,
Backspace = 65_288,
Left = 65_361,
Up = 65_362,
Right = 65_363,
Down = 65_364,
LeftShift = 65_505,
RightShift = 65_506,
LeftControl = 65_507,
RightControl = 65_508,
}Variants§
F1 = 65_470
F2 = 65_471
F3 = 65_472
Space = 32
A = 97
B = 98
C = 99
D = 100
E = 101
F = 102
G = 103
H = 104
I = 105
J = 106
K = 107
L = 108
M = 109
N = 110
O = 111
P = 112
Q = 113
R = 114
S = 115
T = 116
U = 117
V = 118
W = 119
X = 120
Y = 121
Z = 122
Key0 = 48
Key1 = 49
Key2 = 50
Key3 = 51
Key4 = 52
Escape = 65_307
Enter = 65_293
Tab = 65_289
Backspace = 65_288
Left = 65_361
Up = 65_362
Right = 65_363
Down = 65_364
LeftShift = 65_505
RightShift = 65_506
LeftControl = 65_507
RightControl = 65_508
Trait Implementations§
impl Copy for KeyCode
impl Eq for KeyCode
impl StructuralPartialEq for KeyCode
Auto Trait Implementations§
impl Freeze for KeyCode
impl RefUnwindSafe for KeyCode
impl Send for KeyCode
impl Sync for KeyCode
impl Unpin for KeyCode
impl UnwindSafe for KeyCode
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