[][src]Enum device_query::keymap::Keycode

pub enum Keycode {
    Key0,
    Key1,
    Key2,
    Key3,
    Key4,
    Key5,
    Key6,
    Key7,
    Key8,
    Key9,
    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,
    F1,
    F2,
    F3,
    F4,
    F5,
    F6,
    F7,
    F8,
    F9,
    F10,
    F11,
    F12,
    Escape,
    Space,
    LControl,
    RControl,
    LShift,
    RShift,
    LAlt,
    RAlt,
    Meta,
    Enter,
    Up,
    Down,
    Left,
    Right,
    Backspace,
    CapsLock,
    Tab,
    Home,
    End,
    PageUp,
    PageDown,
    Insert,
    Delete,
    Grave,
    Minus,
    Equal,
    LeftBracket,
    RightBracket,
    BackSlash,
    Semicolon,
    Apostrophe,
    Comma,
    Dot,
    Slash,
}

A list of supported keys that we can query from the OS. Outside of mod.

Variants

Key0
Key1
Key2
Key3
Key4
Key5
Key6
Key7
Key8
Key9
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
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
Escape
Space
LControl
RControl
LShift
RShift
LAlt
RAlt
Meta
Enter
Up
Down
Left
Right
Backspace
CapsLock
Tab
Home
End
PageUp
PageDown
Insert
Delete
Grave
Minus
Equal
LeftBracket
RightBracket
BackSlash
Semicolon
Apostrophe
Comma
Dot
Slash

Trait Implementations

impl Clone for Keycode[src]

impl Debug for Keycode[src]

impl FromStr for Keycode[src]

type Err = String

The associated error which can be returned from parsing.

impl PartialEq<Keycode> for Keycode[src]

impl StructuralPartialEq for Keycode[src]

Auto Trait Implementations

impl RefUnwindSafe for Keycode

impl Send for Keycode

impl Sync for Keycode

impl Unpin for Keycode

impl UnwindSafe 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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.