Enum adi_screen::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 Display for Key
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl Copy for Key
[src]
impl Eq for Key
[src]
impl PartialEq<Key> 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 !=
.