Enum yy_typings::object_yy::VirtualKeyCode[][src]

#[repr(u32)]pub enum VirtualKeyCode {
    NoKey,
    AnyKey,
    Backspace,
    Tab,
    Return,
    Shift,
    Control,
    Alt,
    Pause,
    Escape,
    Space,
    PageUp,
    PageDown,
    End,
    Home,
    Left,
    Up,
    Right,
    Down,
    Insert,
    Delete,
    Zero,
    One,
    Two,
    Three,
    Four,
    Five,
    Six,
    Seven,
    Eight,
    Nine,
    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,
    Numpad0,
    Numpad1,
    Numpad2,
    Numpad3,
    Numpad4,
    Numpad5,
    Numpad6,
    Numpad7,
    Numpad8,
    Numpad9,
    NumpadMultiply,
    NumpadAdd,
    NumpadSubtract,
    NumpadDeciminal,
    NumpadDivide,
    F1,
    F2,
    F3,
    F4,
    F5,
    F6,
    F7,
    F8,
    F9,
    F10,
    F11,
    F12,
}

Symbolic names for the keycodes used by Gms2. These are a cutdown version of the Microsoft Virtual keycodes from winuser.h, and with Vk_Any and Vk_None (custom Gms2) added.

Variants

NoKey
AnyKey
Backspace
Tab
Return
Shift
Control
Alt
Pause
Escape
Space
PageUp
PageDown
End
Home
Left
Up
Right
Down
Insert
Delete
Zero
One
Two
Three
Four
Five
Six
Seven
Eight
Nine
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
Numpad0
Numpad1
Numpad2
Numpad3
Numpad4
Numpad5
Numpad6
Numpad7
Numpad8
Numpad9
NumpadMultiply
NumpadAdd
NumpadSubtract
NumpadDeciminal
NumpadDivide
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12

Trait Implementations

impl AsRef<str> for VirtualKeyCode[src]

impl Clone for VirtualKeyCode[src]

impl Copy for VirtualKeyCode[src]

impl Debug for VirtualKeyCode[src]

impl<'de> Deserialize<'de> for VirtualKeyCode[src]

impl Eq for VirtualKeyCode[src]

impl FromPrimitive for VirtualKeyCode[src]

impl Hash for VirtualKeyCode[src]

impl Ord for VirtualKeyCode[src]

impl PartialEq<VirtualKeyCode> for VirtualKeyCode[src]

impl PartialOrd<VirtualKeyCode> for VirtualKeyCode[src]

impl Serialize for VirtualKeyCode[src]

impl StructuralEq for VirtualKeyCode[src]

impl StructuralPartialEq for VirtualKeyCode[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.