Enum linux_input::Key[][src]

pub enum Key {
Show 134 variants Escape, Digit1, Digit2, Digit3, Digit4, Digit5, Digit6, Digit7, Digit8, Digit9, Digit0, Minus, Equal, Backspace, Tab, Q, W, E, R, T, Y, U, I, O, P, LeftBrace, RightBrace, Enter, LeftCtrl, A, S, D, F, G, H, J, K, L, Semicolon, Apostrophe, Grave, LeftShift, Backslash, Z, X, C, V, B, N, M, Comma, Dot, Slash, RightShift, KeypadAsterisk, LeftAlt, Space, CapsLock, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, NumLock, ScrollLock, Keypad7, Keypad8, Keypad9, KeypadMinus, Keypad4, Keypad5, Keypad6, KeypadPlus, Keypad1, Keypad2, Keypad3, Keypad0, KeypadDot, F11, F12, KeypadEnter, RightCtrl, KeypadSlash, SysRq, RightAlt, Home, Up, PageUp, Left, Right, End, Down, PageDown, Insert, Delete, KeypadEqual, KeypadPlusMinus, Pause, KeypadComma, LeftMeta, RightMeta, MouseLeft, MouseRight, MouseMiddle, MouseExtra1, MouseExtra2, MouseExtra3, MouseExtra4, MouseExtra5, PadSouth, PadEast, PadNorth, PadWest, ShoulderLeft, ShoulderRight, ShoulderLeftLower, ShoulderRightLower, Select, Start, HomeButton, StickLeft, StickRight, PadUp, PadDown, PadLeft, PadRight, ButtonMisc, TriggerHappy, Other(u16),
}

Variants

Escape
Digit1
Digit2
Digit3
Digit4
Digit5
Digit6
Digit7
Digit8
Digit9
Digit0
Minus
Equal
Backspace
Tab
Q
W
E
R
T
Y
U
I
O
P
LeftBrace
RightBrace
Enter
LeftCtrl
A
S
D
F
G
H
J
K
L
Semicolon
Apostrophe
Grave
LeftShift
Backslash
Z
X
C
V
B
N
M
Comma
Dot
Slash
RightShift
KeypadAsterisk
LeftAlt
Space
CapsLock
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
NumLock
ScrollLock
Keypad7
Keypad8
Keypad9
KeypadMinus
Keypad4
Keypad5
Keypad6
KeypadPlus
Keypad1
Keypad2
Keypad3
Keypad0
KeypadDot
F11
F12
KeypadEnter
RightCtrl
KeypadSlash
SysRq
RightAlt
Home
Up
PageUp
Left
Right
End
Down
PageDown
Insert
Delete
KeypadEqual
KeypadPlusMinus
Pause
KeypadComma
LeftMeta
RightMeta
MouseLeft
MouseRight
MouseMiddle
MouseExtra1
MouseExtra2
MouseExtra3
MouseExtra4
MouseExtra5
PadSouth
PadEast
PadNorth
PadWest
ShoulderLeft
ShoulderRight
ShoulderLeftLower
ShoulderRightLower
Select
Start
HomeButton
StickLeft
StickRight
PadUp
PadDown
PadLeft
PadRight
ButtonMisc
TriggerHappy
Other

Tuple Fields of Other

0: u16

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.