Enum pc_keyboard::KeyCode [−][src]
pub enum KeyCode { Escape, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, PrintScreen, ScrollLock, PauseBreak, BackTick, Key1, Key2, Key3, Key4, Key5, Key6, Key7, Key8, Key9, Key0, Minus, Equals, Backspace, Tab, Q, W, E, R, T, Y, U, I, O, P, LeftSquareBracket, RightSquareBracket, Backslash, CapsLock, A, S, D, F, G, H, J, K, L, SemiColon, Quote, Enter, ShiftLeft, Z, X, C, V, B, N, M, Comma, Fullstop, Slash, ShiftRight, ControlLeft, WindowsLeft, AltLeft, Spacebar, AltRight, WindowsRight, Menus, RightControl, Insert, Home, PageUp, Delete, End, PageDown, UpArrow, LeftArrow, DownArrow, RightArrow, NumpadLock, NumpadSlash, NumpadStar, NumpadMinus, Numpad7, Numpad8, Numpad9, NumpadPlus, Numpad4, Numpad5, Numpad6, Numpad1, Numpad2, Numpad3, Numpad0, NumpadPeriod, NumpadEnter, HashTilde, }
Variants
Escape
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
PrintScreen
ScrollLock
PauseBreak
BackTick
Key1
Key2
Key3
Key4
Key5
Key6
Key7
Key8
Key9
Key0
Minus
Equals
Backspace
Tab
Q
W
E
R
T
Y
U
I
O
P
LeftSquareBracket
RightSquareBracket
Backslash
CapsLock
A
S
D
F
G
H
J
K
L
SemiColon
Quote
Enter
ShiftLeft
Z
X
C
V
B
N
M
Comma
Fullstop
Slash
ShiftRight
ControlLeft
WindowsLeft
AltLeft
Spacebar
AltRight
WindowsRight
Menus
RightControl
Insert
Home
PageUp
Delete
End
PageDown
UpArrow
LeftArrow
DownArrow
RightArrow
NumpadLock
NumpadSlash
NumpadStar
NumpadMinus
Numpad7
Numpad8
Numpad9
NumpadPlus
Numpad4
Numpad5
Numpad6
Numpad1
Numpad2
Numpad3
Numpad0
NumpadPeriod
NumpadEnter
HashTilde
Not on US keyboards
Trait Implementations
impl Debug for KeyCode
[src]
impl Debug for KeyCode
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for KeyCode
[src]
impl PartialEq for KeyCode
fn eq(&self, other: &KeyCode) -> bool
[src]
fn eq(&self, other: &KeyCode) -> bool
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]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for KeyCode
[src]
impl Eq for KeyCode
impl Copy for KeyCode
[src]
impl Copy for KeyCode
impl Clone for KeyCode
[src]
impl Clone for KeyCode