#[repr(C)]pub enum NSTDKey {
Show 164 variants
NSTD_KEY_NONE = 0,
NSTD_KEY_1 = 1,
NSTD_KEY_2 = 2,
NSTD_KEY_3 = 3,
NSTD_KEY_4 = 4,
NSTD_KEY_5 = 5,
NSTD_KEY_6 = 6,
NSTD_KEY_7 = 7,
NSTD_KEY_8 = 8,
NSTD_KEY_9 = 9,
NSTD_KEY_0 = 10,
NSTD_KEY_A = 11,
NSTD_KEY_B = 12,
NSTD_KEY_C = 13,
NSTD_KEY_D = 14,
NSTD_KEY_E = 15,
NSTD_KEY_F = 16,
NSTD_KEY_G = 17,
NSTD_KEY_H = 18,
NSTD_KEY_I = 19,
NSTD_KEY_J = 20,
NSTD_KEY_K = 21,
NSTD_KEY_L = 22,
NSTD_KEY_M = 23,
NSTD_KEY_N = 24,
NSTD_KEY_O = 25,
NSTD_KEY_P = 26,
NSTD_KEY_Q = 27,
NSTD_KEY_R = 28,
NSTD_KEY_S = 29,
NSTD_KEY_T = 30,
NSTD_KEY_U = 31,
NSTD_KEY_V = 32,
NSTD_KEY_W = 33,
NSTD_KEY_X = 34,
NSTD_KEY_Y = 35,
NSTD_KEY_Z = 36,
NSTD_KEY_ESCAPE = 37,
NSTD_KEY_F1 = 38,
NSTD_KEY_F2 = 39,
NSTD_KEY_F3 = 40,
NSTD_KEY_F4 = 41,
NSTD_KEY_F5 = 42,
NSTD_KEY_F6 = 43,
NSTD_KEY_F7 = 44,
NSTD_KEY_F8 = 45,
NSTD_KEY_F9 = 46,
NSTD_KEY_F10 = 47,
NSTD_KEY_F11 = 48,
NSTD_KEY_F12 = 49,
NSTD_KEY_F13 = 50,
NSTD_KEY_F14 = 51,
NSTD_KEY_F15 = 52,
NSTD_KEY_F16 = 53,
NSTD_KEY_F17 = 54,
NSTD_KEY_F18 = 55,
NSTD_KEY_F19 = 56,
NSTD_KEY_F20 = 57,
NSTD_KEY_F21 = 58,
NSTD_KEY_F22 = 59,
NSTD_KEY_F23 = 60,
NSTD_KEY_F24 = 61,
NSTD_KEY_SNAPSHOT = 62,
NSTD_KEY_SCROLL = 63,
NSTD_KEY_PAUSE = 64,
NSTD_KEY_INSERT = 65,
NSTD_KEY_HOME = 66,
NSTD_KEY_DELETE = 67,
NSTD_KEY_END = 68,
NSTD_KEY_PAGE_DOWN = 69,
NSTD_KEY_PAGE_UP = 70,
NSTD_KEY_LEFT = 71,
NSTD_KEY_UP = 72,
NSTD_KEY_RIGHT = 73,
NSTD_KEY_DOWN = 74,
NSTD_KEY_BACK = 75,
NSTD_KEY_RETURN = 76,
NSTD_KEY_SPACE = 77,
NSTD_KEY_COMPOSE = 78,
NSTD_KEY_CARET = 79,
NSTD_KEY_NUMLOCK = 80,
NSTD_KEY_NUMPAD_0 = 81,
NSTD_KEY_NUMPAD_1 = 82,
NSTD_KEY_NUMPAD_2 = 83,
NSTD_KEY_NUMPAD_3 = 84,
NSTD_KEY_NUMPAD_4 = 85,
NSTD_KEY_NUMPAD_5 = 86,
NSTD_KEY_NUMPAD_6 = 87,
NSTD_KEY_NUMPAD_7 = 88,
NSTD_KEY_NUMPAD_8 = 89,
NSTD_KEY_NUMPAD_9 = 90,
NSTD_KEY_NUMPAD_ADD = 91,
NSTD_KEY_NUMPAD_DIVIDE = 92,
NSTD_KEY_NUMPAD_DECIMAL = 93,
NSTD_KEY_NUMPAD_COMMA = 94,
NSTD_KEY_NUMPAD_ENTER = 95,
NSTD_KEY_NUMPAD_EQUALS = 96,
NSTD_KEY_NUMPAD_MULTIPLY = 97,
NSTD_KEY_NUMPAD_SUBTRACT = 98,
NSTD_KEY_ABNTC1 = 99,
NSTD_KEY_ABNTC2 = 100,
NSTD_KEY_APOSTROPHE = 101,
NSTD_KEY_APPS = 102,
NSTD_KEY_ASTERISK = 103,
NSTD_KEY_AT = 104,
NSTD_KEY_AX = 105,
NSTD_KEY_BACKSLASH = 106,
NSTD_KEY_CALCULATOR = 107,
NSTD_KEY_CAPITAL = 108,
NSTD_KEY_COLON = 109,
NSTD_KEY_COMMA = 110,
NSTD_KEY_CONVERT = 111,
NSTD_KEY_EQUALS = 112,
NSTD_KEY_GRAVE = 113,
NSTD_KEY_KANA = 114,
NSTD_KEY_KANJI = 115,
NSTD_KEY_LEFT_ALT = 116,
NSTD_KEY_LEFT_BRACKET = 117,
NSTD_KEY_LEFT_CONTROL = 118,
NSTD_KEY_LEFT_SHIFT = 119,
NSTD_KEY_LEFT_WIN = 120,
NSTD_KEY_MAIL = 121,
NSTD_KEY_MEDIA_SELECT = 122,
NSTD_KEY_MEDIA_STOP = 123,
NSTD_KEY_MINUS = 124,
NSTD_KEY_MUTE = 125,
NSTD_KEY_MY_COMPUTER = 126,
NSTD_KEY_NAVIGATE_FORWARD = 127,
NSTD_KEY_NAVIGATE_BACKWARD = 128,
NSTD_KEY_NEXT_TRACK = 129,
NSTD_KEY_NO_CONVERT = 130,
NSTD_KEY_OEM102 = 131,
NSTD_KEY_PERIOD = 132,
NSTD_KEY_PLAY_PAUSE = 133,
NSTD_KEY_PLUS = 134,
NSTD_KEY_POWER = 135,
NSTD_KEY_PREV_TRACK = 136,
NSTD_KEY_RIGHT_ALT = 137,
NSTD_KEY_RIGHT_BRACKET = 138,
NSTD_KEY_RIGHT_CONTROL = 139,
NSTD_KEY_RIGHT_SHIFT = 140,
NSTD_KEY_RIGHT_WIN = 141,
NSTD_KEY_SEMICOLON = 142,
NSTD_KEY_SLASH = 143,
NSTD_KEY_SLEEP = 144,
NSTD_KEY_STOP = 145,
NSTD_KEY_SYSRQ = 146,
NSTD_KEY_TAB = 147,
NSTD_KEY_UNDERLINE = 148,
NSTD_KEY_UNLABELED = 149,
NSTD_KEY_VOLUME_DOWN = 150,
NSTD_KEY_VOLUME_UP = 151,
NSTD_KEY_WAKE = 152,
NSTD_KEY_WEB_BACK = 153,
NSTD_KEY_WEB_FAVORITES = 154,
NSTD_KEY_WEB_FORWARD = 155,
NSTD_KEY_WEB_HOME = 156,
NSTD_KEY_WEB_REFRESH = 157,
NSTD_KEY_WEB_SEARCH = 158,
NSTD_KEY_WEB_STOP = 159,
NSTD_KEY_YEN = 160,
NSTD_KEY_COPY = 161,
NSTD_KEY_PASTE = 162,
NSTD_KEY_CUT = 163,
}Expand description
Represents a virtual key code.
Variants§
NSTD_KEY_NONE = 0
NSTD_KEY_1 = 1
NSTD_KEY_2 = 2
NSTD_KEY_3 = 3
NSTD_KEY_4 = 4
NSTD_KEY_5 = 5
NSTD_KEY_6 = 6
NSTD_KEY_7 = 7
NSTD_KEY_8 = 8
NSTD_KEY_9 = 9
NSTD_KEY_0 = 10
NSTD_KEY_A = 11
NSTD_KEY_B = 12
NSTD_KEY_C = 13
NSTD_KEY_D = 14
NSTD_KEY_E = 15
NSTD_KEY_F = 16
NSTD_KEY_G = 17
NSTD_KEY_H = 18
NSTD_KEY_I = 19
NSTD_KEY_J = 20
NSTD_KEY_K = 21
NSTD_KEY_L = 22
NSTD_KEY_M = 23
NSTD_KEY_N = 24
NSTD_KEY_O = 25
NSTD_KEY_P = 26
NSTD_KEY_Q = 27
NSTD_KEY_R = 28
NSTD_KEY_S = 29
NSTD_KEY_T = 30
NSTD_KEY_U = 31
NSTD_KEY_V = 32
NSTD_KEY_W = 33
NSTD_KEY_X = 34
NSTD_KEY_Y = 35
NSTD_KEY_Z = 36
NSTD_KEY_ESCAPE = 37
NSTD_KEY_F1 = 38
NSTD_KEY_F2 = 39
NSTD_KEY_F3 = 40
NSTD_KEY_F4 = 41
NSTD_KEY_F5 = 42
NSTD_KEY_F6 = 43
NSTD_KEY_F7 = 44
NSTD_KEY_F8 = 45
NSTD_KEY_F9 = 46
NSTD_KEY_F10 = 47
NSTD_KEY_F11 = 48
NSTD_KEY_F12 = 49
NSTD_KEY_F13 = 50
NSTD_KEY_F14 = 51
NSTD_KEY_F15 = 52
NSTD_KEY_F16 = 53
NSTD_KEY_F17 = 54
NSTD_KEY_F18 = 55
NSTD_KEY_F19 = 56
NSTD_KEY_F20 = 57
NSTD_KEY_F21 = 58
NSTD_KEY_F22 = 59
NSTD_KEY_F23 = 60
NSTD_KEY_F24 = 61
NSTD_KEY_SNAPSHOT = 62
NSTD_KEY_SCROLL = 63
NSTD_KEY_PAUSE = 64
NSTD_KEY_INSERT = 65
NSTD_KEY_HOME = 66
NSTD_KEY_DELETE = 67
NSTD_KEY_END = 68
NSTD_KEY_PAGE_DOWN = 69
NSTD_KEY_PAGE_UP = 70
NSTD_KEY_LEFT = 71
NSTD_KEY_UP = 72
NSTD_KEY_RIGHT = 73
NSTD_KEY_DOWN = 74
NSTD_KEY_BACK = 75
NSTD_KEY_RETURN = 76
NSTD_KEY_SPACE = 77
NSTD_KEY_COMPOSE = 78
NSTD_KEY_CARET = 79
NSTD_KEY_NUMLOCK = 80
NSTD_KEY_NUMPAD_0 = 81
NSTD_KEY_NUMPAD_1 = 82
NSTD_KEY_NUMPAD_2 = 83
NSTD_KEY_NUMPAD_3 = 84
NSTD_KEY_NUMPAD_4 = 85
NSTD_KEY_NUMPAD_5 = 86
NSTD_KEY_NUMPAD_6 = 87
NSTD_KEY_NUMPAD_7 = 88
NSTD_KEY_NUMPAD_8 = 89
NSTD_KEY_NUMPAD_9 = 90
NSTD_KEY_NUMPAD_ADD = 91
NSTD_KEY_NUMPAD_DIVIDE = 92
NSTD_KEY_NUMPAD_DECIMAL = 93
NSTD_KEY_NUMPAD_COMMA = 94
NSTD_KEY_NUMPAD_ENTER = 95
NSTD_KEY_NUMPAD_EQUALS = 96
NSTD_KEY_NUMPAD_MULTIPLY = 97
NSTD_KEY_NUMPAD_SUBTRACT = 98
NSTD_KEY_ABNTC1 = 99
NSTD_KEY_ABNTC2 = 100
NSTD_KEY_APOSTROPHE = 101
NSTD_KEY_APPS = 102
NSTD_KEY_ASTERISK = 103
NSTD_KEY_AT = 104
NSTD_KEY_AX = 105
NSTD_KEY_BACKSLASH = 106
NSTD_KEY_CALCULATOR = 107
NSTD_KEY_CAPITAL = 108
NSTD_KEY_COLON = 109
NSTD_KEY_COMMA = 110
NSTD_KEY_CONVERT = 111
NSTD_KEY_EQUALS = 112
NSTD_KEY_GRAVE = 113
NSTD_KEY_KANA = 114
NSTD_KEY_KANJI = 115
NSTD_KEY_LEFT_ALT = 116
NSTD_KEY_LEFT_BRACKET = 117
NSTD_KEY_LEFT_CONTROL = 118
NSTD_KEY_LEFT_SHIFT = 119
NSTD_KEY_LEFT_WIN = 120
NSTD_KEY_MAIL = 121
NSTD_KEY_MEDIA_SELECT = 122
NSTD_KEY_MEDIA_STOP = 123
NSTD_KEY_MINUS = 124
NSTD_KEY_MUTE = 125
NSTD_KEY_MY_COMPUTER = 126
NSTD_KEY_NAVIGATE_FORWARD = 127
NSTD_KEY_NAVIGATE_BACKWARD = 128
NSTD_KEY_NEXT_TRACK = 129
NSTD_KEY_NO_CONVERT = 130
NSTD_KEY_OEM102 = 131
NSTD_KEY_PERIOD = 132
NSTD_KEY_PLAY_PAUSE = 133
NSTD_KEY_PLUS = 134
NSTD_KEY_POWER = 135
NSTD_KEY_PREV_TRACK = 136
NSTD_KEY_RIGHT_ALT = 137
NSTD_KEY_RIGHT_BRACKET = 138
NSTD_KEY_RIGHT_CONTROL = 139
NSTD_KEY_RIGHT_SHIFT = 140
NSTD_KEY_RIGHT_WIN = 141
NSTD_KEY_SEMICOLON = 142
NSTD_KEY_SLASH = 143
NSTD_KEY_SLEEP = 144
NSTD_KEY_STOP = 145
NSTD_KEY_SYSRQ = 146
NSTD_KEY_TAB = 147
NSTD_KEY_UNDERLINE = 148
NSTD_KEY_UNLABELED = 149
NSTD_KEY_VOLUME_DOWN = 150
NSTD_KEY_VOLUME_UP = 151
NSTD_KEY_WAKE = 152
NSTD_KEY_WEB_BACK = 153
NSTD_KEY_WEB_FAVORITES = 154
NSTD_KEY_WEB_FORWARD = 155
NSTD_KEY_WEB_HOME = 156
NSTD_KEY_WEB_REFRESH = 157
NSTD_KEY_WEB_SEARCH = 158
NSTD_KEY_WEB_STOP = 159
NSTD_KEY_YEN = 160
NSTD_KEY_COPY = 161
NSTD_KEY_PASTE = 162
NSTD_KEY_CUT = 163
Trait Implementations§
Source§impl From<VirtualKeyCode> for NSTDKey
impl From<VirtualKeyCode> for NSTDKey
Source§fn from(key: VirtualKeyCode) -> Self
fn from(key: VirtualKeyCode) -> Self
Converts to this type from the input type.
Source§impl FromPrimitive for NSTDKey
impl FromPrimitive for NSTDKey
Source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an
i64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an
u64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an
i128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreSource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an
u128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreSource§impl ToPrimitive for NSTDKey
impl ToPrimitive for NSTDKey
Source§fn to_i64(&self) -> Option<i64>
fn to_i64(&self) -> Option<i64>
Converts the value of
self to an i64. If the value cannot be
represented by an i64, then None is returned.Source§fn to_u64(&self) -> Option<u64>
fn to_u64(&self) -> Option<u64>
Converts the value of
self to a u64. If the value cannot be
represented by a u64, then None is returned.Source§fn to_isize(&self) -> Option<isize>
fn to_isize(&self) -> Option<isize>
Converts the value of
self to an isize. If the value cannot be
represented by an isize, then None is returned.Source§fn to_i8(&self) -> Option<i8>
fn to_i8(&self) -> Option<i8>
Converts the value of
self to an i8. If the value cannot be
represented by an i8, then None is returned.Source§fn to_i16(&self) -> Option<i16>
fn to_i16(&self) -> Option<i16>
Converts the value of
self to an i16. If the value cannot be
represented by an i16, then None is returned.Source§fn to_i32(&self) -> Option<i32>
fn to_i32(&self) -> Option<i32>
Converts the value of
self to an i32. If the value cannot be
represented by an i32, then None is returned.Source§fn to_i128(&self) -> Option<i128>
fn to_i128(&self) -> Option<i128>
Converts the value of
self to an i128. If the value cannot be
represented by an i128 (i64 under the default implementation), then
None is returned. Read moreSource§fn to_usize(&self) -> Option<usize>
fn to_usize(&self) -> Option<usize>
Converts the value of
self to a usize. If the value cannot be
represented by a usize, then None is returned.Source§fn to_u8(&self) -> Option<u8>
fn to_u8(&self) -> Option<u8>
Converts the value of
self to a u8. If the value cannot be
represented by a u8, then None is returned.Source§fn to_u16(&self) -> Option<u16>
fn to_u16(&self) -> Option<u16>
Converts the value of
self to a u16. If the value cannot be
represented by a u16, then None is returned.Source§fn to_u32(&self) -> Option<u32>
fn to_u32(&self) -> Option<u32>
Converts the value of
self to a u32. If the value cannot be
represented by a u32, then None is returned.Source§fn to_u128(&self) -> Option<u128>
fn to_u128(&self) -> Option<u128>
Converts the value of
self to a u128. If the value cannot be
represented by a u128 (u64 under the default implementation), then
None is returned. Read moreAuto Trait Implementations§
impl Freeze for NSTDKey
impl RefUnwindSafe for NSTDKey
impl Send for NSTDKey
impl Sync for NSTDKey
impl Unpin for NSTDKey
impl UnwindSafe for NSTDKey
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more