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
Num11
Num22
Num33
Num44
Num55
Num66
Num77
Num88
Num99
Num00
Minus-
EqualSign=
BackspaceBackspace
TabTab
QQ
WW
EE
RR
TT
YY
UU
II
OO
PP
BracketOpen{
BracketClose}
BackSlashBackslash
ComposeCompose (CAPS LOCK)
AA
SS
DD
FF
GG
HH
JJ
KK
LL
Semicolon;
Apostrophe'
EnterEnter
LShiftLeft Shift
ZZ
XX
CC
VV
BB
NN
MM
Comma,
Period.
Slash/
RShiftRight Shift
LCtrlLeft CTRL
AltAlt (Left)
SpaceSpace
RCtrlRight Control
UpUp Arrow Key
DownDown Arrow Key
LeftLeft Arrow Key
RightRight Arrow Key
ExtBacktick`
ExtDeleteDelete
ExtInsertInsert
ExtNumLockNumLock
ExtPageUpPage Up
ExtPageDownPage Down
ExtHomeHome
ExtEndEnd
ExtAsterisk*
ExtPlus+
ExtAltGrAltGr (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) -> bool1.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