Enum awi::Key
[−]
[src]
#[repr(u8)]pub enum Key { Num1, Num2, Num3, Num4, Num5, Num6, Num7, Num8, Num9, Num0, Minus, EqualSign, Backspace, Tab, Q, W, E, R, T, Y, U, I, O, P, BracketOpen, BracketClose, BackSlash, Compose, A, S, D, F, G, H, J, K, L, Semicolon, Apostrophe, Enter, LShift, Z, X, C, V, B, N, M, Comma, Period, Slash, RShift, LCtrl, Alt, Space, RCtrl, Up, Down, Left, Right, ExtBacktick, ExtDelete, ExtInsert, ExtNumLock, ExtPageUp, ExtPageDown, ExtHome, ExtEnd, ExtAsterisk, ExtPlus, ExtAltGr, }
This enum represents a physical key on a keyboard. There a 75 possible keys
Variants
Num1
1
Num2
2
Num3
3
Num4
4
Num5
5
Num6
6
Num7
7
Num8
8
Num9
9
Num0
0
Minus
-
EqualSign
=
Backspace
Backspace
Tab
Tab
Q
Q
W
W
E
E
R
R
T
T
Y
Y
U
U
I
I
O
O
P
P
BracketOpen
{
BracketClose
}
BackSlash
Backslash
Compose
Compose (CAPS LOCK)
A
A
S
S
D
D
F
F
G
G
H
H
J
J
K
K
L
L
Semicolon
;
Apostrophe
'
Enter
Enter
LShift
Left Shift
Z
Z
X
X
C
C
V
V
B
B
N
N
M
M
Comma
,
Period
.
Slash
/
RShift
Right Shift
LCtrl
Left CTRL
Alt
Alt (Left)
Space
Space
RCtrl
Right Control
Up
Up Arrow Key
Down
Down Arrow Key
Left
Left Arrow Key
Right
Right Arrow Key
ExtBacktick
`
ExtDelete
Delete
ExtInsert
Insert
ExtNumLock
NumLock
ExtPageUp
Page Up
ExtPageDown
Page Down
ExtHome
Home
ExtEnd
End
ExtAsterisk
*
ExtPlus
+
ExtAltGr
AltGr (Right Alt)
Trait Implementations
impl PartialEq for Key
[src]
fn eq(&self, __arg_0: &Key) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for Key
[src]
impl Copy for Key
[src]
impl Clone for Key
[src]
fn clone(&self) -> Key
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more