[][src]Enum pc_keyboard::KeyCode

pub enum KeyCode {
    AltLeft,
    AltRight,
    ArrowDown,
    ArrowLeft,
    ArrowRight,
    ArrowUp,
    BackSlash,
    Backspace,
    BackTick,
    BracketSquareLeft,
    BracketSquareRight,
    CapsLock,
    Comma,
    ControlLeft,
    ControlRight,
    Delete,
    End,
    Enter,
    Escape,
    Equals,
    F1,
    F2,
    F3,
    F4,
    F5,
    F6,
    F7,
    F8,
    F9,
    F10,
    F11,
    F12,
    Fullstop,
    Home,
    Insert,
    Key1,
    Key2,
    Key3,
    Key4,
    Key5,
    Key6,
    Key7,
    Key8,
    Key9,
    Key0,
    Menus,
    Minus,
    Numpad0,
    Numpad1,
    Numpad2,
    Numpad3,
    Numpad4,
    Numpad5,
    Numpad6,
    Numpad7,
    Numpad8,
    Numpad9,
    NumpadEnter,
    NumpadLock,
    NumpadSlash,
    NumpadStar,
    NumpadMinus,
    NumpadPeriod,
    NumpadPlus,
    PageDown,
    PageUp,
    PauseBreak,
    PrintScreen,
    ScrollLock,
    SemiColon,
    ShiftLeft,
    ShiftRight,
    Slash,
    Spacebar,
    Tab,
    Quote,
    WindowsLeft,
    WindowsRight,
    A,
    B,
    C,
    D,
    E,
    F,
    G,
    H,
    I,
    J,
    K,
    L,
    M,
    N,
    O,
    P,
    Q,
    R,
    S,
    T,
    U,
    V,
    W,
    X,
    Y,
    Z,
    HashTilde,
    PrevTrack,
    NextTrack,
    Mute,
    Calculator,
    Play,
    Stop,
    VolumeDown,
    VolumeUp,
    WWWHome,
    PowerOnTestOk,
}

Keycodes that can be generated by a keyboard.

Variants

AltLeft
AltRight
ArrowDown
ArrowLeft
ArrowRight
ArrowUp
BackSlash
Backspace
BackTick
BracketSquareLeft
BracketSquareRight
CapsLock
Comma
ControlLeft
ControlRight
Delete
End
Enter
Escape
Equals
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
Fullstop
Home
Insert
Key1
Key2
Key3
Key4
Key5
Key6
Key7
Key8
Key9
Key0
Menus
Minus
Numpad0
Numpad1
Numpad2
Numpad3
Numpad4
Numpad5
Numpad6
Numpad7
Numpad8
Numpad9
NumpadEnter
NumpadLock
NumpadSlash
NumpadStar
NumpadMinus
NumpadPeriod
NumpadPlus
PageDown
PageUp
PauseBreak
PrintScreen
ScrollLock
SemiColon
ShiftLeft
ShiftRight
Slash
Spacebar
Tab
Quote
WindowsLeft
WindowsRight
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
HashTilde

Not on US keyboards

PrevTrack
NextTrack
Mute
Calculator
Play
Stop
VolumeDown
VolumeUp
WWWHome
PowerOnTestOk

Trait Implementations

impl Clone for KeyCode[src]

impl Copy for KeyCode[src]

impl Debug for KeyCode[src]

impl Eq for KeyCode[src]

impl Ord for KeyCode[src]

impl PartialEq<KeyCode> for KeyCode[src]

impl PartialOrd<KeyCode> for KeyCode[src]

impl StructuralEq for KeyCode[src]

impl StructuralPartialEq for KeyCode[src]

Auto Trait Implementations

impl Send for KeyCode

impl Sync for KeyCode

impl Unpin for KeyCode

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.