[][src]Enum pel::input::VirtualKey

#[repr(u32)]
pub enum VirtualKey {
    Escape,
    Backquote,
    Tab,
    F1,
    F2,
    F3,
    F4,
    F5,
    F6,
    F7,
    F8,
    F9,
    F10,
    F11,
    F12,
    F13,
    F14,
    F15,
    F16,
    F17,
    F18,
    F19,
    F20,
    F21,
    F22,
    F23,
    F24,
    Key1,
    Key2,
    Key3,
    Key4,
    Key5,
    Key6,
    Key7,
    Key8,
    Key9,
    Key0,
    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,
    Minus,
    Plus,
    Equals,
    LBracket,
    RBracket,
    Backslash,
    Semicolon,
    Colon,
    Apostrophe,
    Period,
    Comma,
    Slash,
    Left,
    Up,
    Right,
    Down,
    Numpad0,
    Numpad1,
    Numpad2,
    Numpad3,
    Numpad4,
    Numpad5,
    Numpad6,
    Numpad7,
    Numpad8,
    Numpad9,
    Delete,
    Insert,
    Home,
    End,
    PageDown,
    PageUp,
    Backspace,
    Enter,
}

Symbolic name for a keyboard key.

Variants

Escape

The Escape key, next to F1.

Backquote

'`' key under the Escape key.

Tab

Tab key.

F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
F13
F14
F15
F16
F17
F18
F19
F20
F21
F22
F23
F24
Key1

The '1' key over the letters.

Key2

The '2' key over the letters.

Key3

The '3' key over the letters.

Key4

The '4' key over the letters.

Key5

The '5' key over the letters.

Key6

The '6' key over the letters.

Key7

The '7' key over the letters.

Key8

The '8' key over the letters.

Key9

The '9' key over the letters.

Key0

The '0' key over the 'O' and 'P' keys.

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
Minus

'-' key over the letters/in numpad.

Plus

'+' key over the letters/in numpad.

Equals

'=' key over the letters/in numpad.

LBracket

'[' key.

RBracket

']' key.

Backslash

'' key.

Semicolon

';' key.

Colon

':' key.

Apostrophe

"'" key.

Period

'.' key.

Comma

',' key.

Slash

'/' key.

Left

Arrow key pointing left.

Up

Arrow key pointing up.

Right

Arrow key pointing right.

Down

Arrow key pointing down.

Numpad0

'0' in numpad.

Numpad1

'1' in numpad.

Numpad2

'2' in numpad.

Numpad3

'3' in numpad.

Numpad4

'4' in numpad.

Numpad5

'5' in numpad.

Numpad6

'6' in numpad.

Numpad7

'7' in numpad.

Numpad8

'8' in numpad.

Numpad9

'9' in numpad.

Delete

Delete key.

Insert

Insert key.

Home

Home key.

End

End key.

PageDown

Page down key.

PageUp

Page up key.

Backspace

Backspace (erase last character) key.

Enter

Enter (return to beginning of the new line).

Trait Implementations

impl Clone for VirtualKey[src]

impl Copy for VirtualKey[src]

impl Debug for VirtualKey[src]

impl Eq for VirtualKey[src]

impl Hash for VirtualKey[src]

impl PartialEq<Option<VirtualKey>> for VirtualKey[src]

impl PartialEq<VirtualKey> for VirtualKey[src]

impl StructuralEq for VirtualKey[src]

impl StructuralPartialEq for VirtualKey[src]

Auto Trait Implementations

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.