Enum bear_lib_terminal::terminal::KeyCode [] [src]

pub enum KeyCode {
    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,
    Row1,
    Row2,
    Row3,
    Row4,
    Row5,
    Row6,
    Row7,
    Row8,
    Row9,
    Row0,
    Grave,
    Minus,
    Equals,
    LeftBracket,
    RightBracket,
    Backslash,
    Semicolon,
    Apostrophe,
    Comma,
    Period,
    Slash,
    F1,
    F2,
    F3,
    F4,
    F5,
    F6,
    F7,
    F8,
    F9,
    F10,
    F11,
    F12,
    Enter,
    Escape,
    Backspace,
    Tab,
    Space,
    Pause,
    Insert,
    Home,
    PageUp,
    Delete,
    End,
    PageDown,
    Right,
    Left,
    Down,
    Up,
    NumDivide,
    NumMultiply,
    NumMinus,
    NumPlus,
    NumEnter,
    NumPeriod,
    Num1,
    Num2,
    Num3,
    Num4,
    Num5,
    Num6,
    Num7,
    Num8,
    Num9,
    Num0,
    MouseLeft,
    MouseRight,
    MouseMiddle,
    MouseFourth,
    MouseFifth,
}

All pressable keys.

Variants

Top-row 1/! key.

Top-row 2/@ key.

Top-row 3/# key.

Top-row 4/$ key.

Top-row 5/% key.

Top-row 6/^ key.

Top-row 7/& key.

Top-row 8/* key.

Top-row 9/( key.

Top-row 0/) key.

Top-row `/~ key.

Top-row -/_ key.

Top-row =/+ key.

Second-row [/{ key.

Second-row ]/} key.

Second-row \/| key.

Third-row ;/: key.

Third-row '/" key.

Fourth-row ,/< key.

Fourth-row ./> key.

Fourth-row //? key.

Right arrow key.

Left arrow key.

Down arrow key.

Up arrow key.

Numpad / key.

Numpad * key.

Numpad - key.

Numpad + key.

Numpad ⏎ key.

Numpad Del/. key (output locale-dependent).

Numpad 1/End key.

Numpad 2/↓ key.

Numpad 3/PageDown key.

Numpad 4/← key.

Numpad 5 key.

Numpad 6/→ key.

Numpad 7/Home key.

Numpad 8/↑ key.

Numpad 9/PageUp key.

Numpad 0/Insert key.

Left mouse button.

Right mouse button.

Middle mouse button a.k.a. pressed scroll wheel.

Trait Implementations

impl Clone for KeyCode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for KeyCode
[src]

impl Debug for KeyCode
[src]

Formats the value using the given formatter.

impl Eq for KeyCode
[src]

impl Hash for KeyCode
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl PartialEq for KeyCode
[src]

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

This method tests for !=.