[][src]Enum tge::keyboard::KeyCode

pub enum KeyCode {
    Esc,
    Num1,
    Num2,
    Num3,
    Num4,
    Num5,
    Num6,
    Num7,
    Num8,
    Num9,
    Num0,
    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,
    F13,
    F14,
    F15,
    F16,
    F17,
    F18,
    F19,
    F20,
    F21,
    F22,
    F23,
    F24,
    PrintScreen,
    ScrollLock,
    Pause,
    Grave,
    Minus,
    Equals,
    LBracket,
    RBracket,
    Backslash,
    Semicolon,
    Apostrophe,
    Comma,
    Period,
    Slash,
    Tab,
    CapsLock,
    LShift,
    RShift,
    LCtrl,
    RCtrl,
    LAlt,
    RAlt,
    LWin,
    RWin,
    Backspace,
    Enter,
    Space,
    Menu,
    Insert,
    Delete,
    Home,
    End,
    PageUp,
    PageDown,
    Up,
    Down,
    Left,
    Right,
    NumLock,
    NumpadSlash,
    NumpadMultiply,
    NumpadMinus,
    NumpadDecimal,
    NumpadAdd,
    NumpadEnter,
    Numpad0,
    Numpad1,
    Numpad2,
    Numpad3,
    Numpad4,
    Numpad5,
    Numpad6,
    Numpad7,
    Numpad8,
    Numpad9,
    Other(u32),
}

Variants

Esc
Num1
Num2
Num3
Num4
Num5
Num6
Num7
Num8
Num9
Num0
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
F13
F14
F15
F16
F17
F18
F19
F20
F21
F22
F23
F24
PrintScreen
ScrollLock
Pause

Pause or Break

Grave

` or ~

Minus
  • or _
Equals

= or +

LBracket

[ or {

RBracket

] or }

Backslash

\ or |

Semicolon

; or :

Apostrophe

' or "

Comma

, or <

Period

. or >

Slash

/ or ?

Tab
CapsLock
LShift
RShift
LCtrl
RCtrl
LAlt

or left option on macOS

RAlt

or right option on macOs

LWin

or left command on macOS

RWin

or right command on macOS

Backspace

or delete on macOS

Enter

or return on macOS

Space
Menu
Insert
Delete
Home
End
PageUp
PageDown
Up
Down
Left
Right
NumLock
NumpadSlash
NumpadMultiply
NumpadMinus
NumpadDecimal
NumpadAdd
NumpadEnter
Numpad0
Numpad1
Numpad2
Numpad3
Numpad4
Numpad5
Numpad6
Numpad7
Numpad8
Numpad9
Other(u32)

Trait Implementations

impl Clone for KeyCode[src]

impl Copy for KeyCode[src]

impl Debug for KeyCode[src]

impl Eq for KeyCode[src]

impl From<(Option<VirtualKeyCode>, u32)> for KeyCode[src]

impl Hash for KeyCode[src]

impl PartialEq<KeyCode> for KeyCode[src]

impl StructuralEq 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> SetParameter for T

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.