[][src]Enum interception::scancode::ScanCode

#[repr(u16)]pub enum ScanCode {
    Esc,
    Num1,
    Num2,
    Num3,
    Num4,
    Num5,
    Num6,
    Num7,
    Num8,
    Num9,
    Num0,
    Minus,
    Equals,
    Backspace,
    Tab,
    Q,
    W,
    E,
    R,
    T,
    Y,
    U,
    I,
    O,
    P,
    LeftBracket,
    RightBracket,
    Enter,
    LeftControl,
    A,
    S,
    D,
    F,
    G,
    H,
    J,
    K,
    L,
    SemiColon,
    Apostrophe,
    Grave,
    LeftShift,
    BackSlash,
    Z,
    X,
    C,
    V,
    B,
    N,
    M,
    Comma,
    Period,
    Slash,
    RightShift,
    NumpadMultiply,
    LeftAlt,
    Space,
    CapsLock,
    F1,
    F2,
    F3,
    F4,
    F5,
    F6,
    F7,
    F8,
    F9,
    F10,
    NumLock,
    ScrollLock,
    Numpad7,
    Numpad8,
    Numpad9,
    NumpadMinus,
    Numpad4,
    Numpad5,
    Numpad6,
    NumpadPlus,
    Numpad1,
    Numpad2,
    Numpad3,
    Numpad0,
    NumpadPeriod,
    AltPrintScreen,
    Int1,
    F11,
    F12,
    Oem1,
    Oem2,
    Oem3,
    EraseEOF,
    Oem4,
    Oem5,
    Zoom,
    Help,
    F13,
    F14,
    F15,
    F16,
    F17,
    F18,
    F19,
    F20,
    F21,
    F22,
    F23,
    Oem6,
    Katakana,
    Oem7,
    F24,
    SBCSChar,
    Convert,
    NonConvert,
}

Variants

Esc
Num1
Num2
Num3
Num4
Num5
Num6
Num7
Num8
Num9
Num0
Minus
Equals
Backspace
Tab
Q
W
E
R
T
Y
U
I
O
P
LeftBracket
RightBracket
Enter
LeftControl
A
S
D
F
G
H
J
K
L
SemiColon
Apostrophe
Grave
LeftShift
BackSlash
Z
X
C
V
B
N
M
Comma
Period
Slash
RightShift
NumpadMultiply
LeftAlt
Space
CapsLock
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
NumLock
ScrollLock
Numpad7
Numpad8
Numpad9
NumpadMinus
Numpad4
Numpad5
Numpad6
NumpadPlus
Numpad1
Numpad2
Numpad3
Numpad0
NumpadPeriod
AltPrintScreen
Int1
F11
F12
Oem1
Oem2
Oem3
EraseEOF
Oem4
Oem5
Zoom
Help
F13
F14
F15
F16
F17
F18
F19
F20
F21
F22
F23
Oem6
Katakana
Oem7
F24
SBCSChar
Convert
NonConvert

Trait Implementations

impl Clone for ScanCode[src]

impl Copy for ScanCode[src]

impl Debug for ScanCode[src]

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

impl Eq for ScanCode[src]

impl Hash for ScanCode[src]

impl PartialEq<ScanCode> for ScanCode[src]

impl Serialize for ScanCode[src]

impl StructuralEq for ScanCode[src]

impl StructuralPartialEq for ScanCode[src]

impl TryFrom<u16> for ScanCode[src]

type Error = TryFromPrimitiveError<Self>

The type returned in the event of a conversion error.

impl TryFromPrimitive for ScanCode[src]

type Primitive = u16

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.