pub struct KeyEvent { /* private fields */ }Expand description
The KeyEvent class.
This API requires the following crate features to be activated: KeyEvent
Implementations§
Source§impl KeyEvent
impl KeyEvent
Sourcepub fn init_key_event(&self, type_: &str)
pub fn init_key_event(&self, type_: &str)
The initKeyEvent() method.
This API requires the following crate features to be activated: KeyEvent
Source§impl KeyEvent
impl KeyEvent
Sourcepub fn init_key_event_with_can_bubble(&self, type_: &str, can_bubble: bool)
pub fn init_key_event_with_can_bubble(&self, type_: &str, can_bubble: bool)
The initKeyEvent() method.
This API requires the following crate features to be activated: KeyEvent
Source§impl KeyEvent
impl KeyEvent
Sourcepub fn init_key_event_with_can_bubble_and_cancelable(
&self,
type_: &str,
can_bubble: bool,
cancelable: bool,
)
pub fn init_key_event_with_can_bubble_and_cancelable( &self, type_: &str, can_bubble: bool, cancelable: bool, )
The initKeyEvent() method.
This API requires the following crate features to be activated: KeyEvent
Source§impl KeyEvent
impl KeyEvent
Source§impl KeyEvent
impl KeyEvent
Source§impl KeyEvent
impl KeyEvent
Sourcepub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key(
&self,
type_: &str,
can_bubble: bool,
cancelable: bool,
view: Option<&Window>,
ctrl_key: bool,
alt_key: bool,
)
pub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key( &self, type_: &str, can_bubble: bool, cancelable: bool, view: Option<&Window>, ctrl_key: bool, alt_key: bool, )
The initKeyEvent() method.
This API requires the following crate features to be activated: KeyEvent, Window
Source§impl KeyEvent
impl KeyEvent
Sourcepub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key(
&self,
type_: &str,
can_bubble: bool,
cancelable: bool,
view: Option<&Window>,
ctrl_key: bool,
alt_key: bool,
shift_key: bool,
)
pub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key( &self, type_: &str, can_bubble: bool, cancelable: bool, view: Option<&Window>, ctrl_key: bool, alt_key: bool, shift_key: bool, )
The initKeyEvent() method.
This API requires the following crate features to be activated: KeyEvent, Window
Source§impl KeyEvent
impl KeyEvent
Sourcepub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key(
&self,
type_: &str,
can_bubble: bool,
cancelable: bool,
view: Option<&Window>,
ctrl_key: bool,
alt_key: bool,
shift_key: bool,
meta_key: bool,
)
pub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key( &self, type_: &str, can_bubble: bool, cancelable: bool, view: Option<&Window>, ctrl_key: bool, alt_key: bool, shift_key: bool, meta_key: bool, )
The initKeyEvent() method.
This API requires the following crate features to be activated: KeyEvent, Window
Source§impl KeyEvent
impl KeyEvent
Sourcepub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_key_code(
&self,
type_: &str,
can_bubble: bool,
cancelable: bool,
view: Option<&Window>,
ctrl_key: bool,
alt_key: bool,
shift_key: bool,
meta_key: bool,
key_code: u32,
)
pub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_key_code( &self, type_: &str, can_bubble: bool, cancelable: bool, view: Option<&Window>, ctrl_key: bool, alt_key: bool, shift_key: bool, meta_key: bool, key_code: u32, )
The initKeyEvent() method.
This API requires the following crate features to be activated: KeyEvent, Window
Source§impl KeyEvent
impl KeyEvent
Sourcepub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_key_code_and_char_code(
&self,
type_: &str,
can_bubble: bool,
cancelable: bool,
view: Option<&Window>,
ctrl_key: bool,
alt_key: bool,
shift_key: bool,
meta_key: bool,
key_code: u32,
char_code: u32,
)
pub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_key_code_and_char_code( &self, type_: &str, can_bubble: bool, cancelable: bool, view: Option<&Window>, ctrl_key: bool, alt_key: bool, shift_key: bool, meta_key: bool, key_code: u32, char_code: u32, )
The initKeyEvent() method.
This API requires the following crate features to be activated: KeyEvent, Window
Source§impl KeyEvent
impl KeyEvent
Sourcepub const DOM_VK_CANCEL: u32 = 3u32
pub const DOM_VK_CANCEL: u32 = 3u32
The KeyEvent.DOM_VK_CANCEL const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_HELP: u32 = 6u32
pub const DOM_VK_HELP: u32 = 6u32
The KeyEvent.DOM_VK_HELP const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_BACK_SPACE: u32 = 8u32
pub const DOM_VK_BACK_SPACE: u32 = 8u32
The KeyEvent.DOM_VK_BACK_SPACE const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_TAB: u32 = 9u32
pub const DOM_VK_TAB: u32 = 9u32
The KeyEvent.DOM_VK_TAB const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_CLEAR: u32 = 12u32
pub const DOM_VK_CLEAR: u32 = 12u32
The KeyEvent.DOM_VK_CLEAR const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_RETURN: u32 = 13u32
pub const DOM_VK_RETURN: u32 = 13u32
The KeyEvent.DOM_VK_RETURN const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_SHIFT: u32 = 16u32
pub const DOM_VK_SHIFT: u32 = 16u32
The KeyEvent.DOM_VK_SHIFT const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_CONTROL: u32 = 17u32
pub const DOM_VK_CONTROL: u32 = 17u32
The KeyEvent.DOM_VK_CONTROL const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_ALT: u32 = 18u32
pub const DOM_VK_ALT: u32 = 18u32
The KeyEvent.DOM_VK_ALT const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_PAUSE: u32 = 19u32
pub const DOM_VK_PAUSE: u32 = 19u32
The KeyEvent.DOM_VK_PAUSE const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_CAPS_LOCK: u32 = 20u32
pub const DOM_VK_CAPS_LOCK: u32 = 20u32
The KeyEvent.DOM_VK_CAPS_LOCK const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_KANA: u32 = 21u32
pub const DOM_VK_KANA: u32 = 21u32
The KeyEvent.DOM_VK_KANA const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_HANGUL: u32 = 21u32
pub const DOM_VK_HANGUL: u32 = 21u32
The KeyEvent.DOM_VK_HANGUL const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_EISU: u32 = 22u32
pub const DOM_VK_EISU: u32 = 22u32
The KeyEvent.DOM_VK_EISU const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_JUNJA: u32 = 23u32
pub const DOM_VK_JUNJA: u32 = 23u32
The KeyEvent.DOM_VK_JUNJA const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_FINAL: u32 = 24u32
pub const DOM_VK_FINAL: u32 = 24u32
The KeyEvent.DOM_VK_FINAL const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_HANJA: u32 = 25u32
pub const DOM_VK_HANJA: u32 = 25u32
The KeyEvent.DOM_VK_HANJA const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_KANJI: u32 = 25u32
pub const DOM_VK_KANJI: u32 = 25u32
The KeyEvent.DOM_VK_KANJI const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_ESCAPE: u32 = 27u32
pub const DOM_VK_ESCAPE: u32 = 27u32
The KeyEvent.DOM_VK_ESCAPE const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_CONVERT: u32 = 28u32
pub const DOM_VK_CONVERT: u32 = 28u32
The KeyEvent.DOM_VK_CONVERT const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_NONCONVERT: u32 = 29u32
pub const DOM_VK_NONCONVERT: u32 = 29u32
The KeyEvent.DOM_VK_NONCONVERT const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_ACCEPT: u32 = 30u32
pub const DOM_VK_ACCEPT: u32 = 30u32
The KeyEvent.DOM_VK_ACCEPT const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_MODECHANGE: u32 = 31u32
pub const DOM_VK_MODECHANGE: u32 = 31u32
The KeyEvent.DOM_VK_MODECHANGE const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_SPACE: u32 = 32u32
pub const DOM_VK_SPACE: u32 = 32u32
The KeyEvent.DOM_VK_SPACE const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_PAGE_UP: u32 = 33u32
pub const DOM_VK_PAGE_UP: u32 = 33u32
The KeyEvent.DOM_VK_PAGE_UP const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_PAGE_DOWN: u32 = 34u32
pub const DOM_VK_PAGE_DOWN: u32 = 34u32
The KeyEvent.DOM_VK_PAGE_DOWN const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_END: u32 = 35u32
pub const DOM_VK_END: u32 = 35u32
The KeyEvent.DOM_VK_END const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_HOME: u32 = 36u32
pub const DOM_VK_HOME: u32 = 36u32
The KeyEvent.DOM_VK_HOME const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_LEFT: u32 = 37u32
pub const DOM_VK_LEFT: u32 = 37u32
The KeyEvent.DOM_VK_LEFT const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_UP: u32 = 38u32
pub const DOM_VK_UP: u32 = 38u32
The KeyEvent.DOM_VK_UP const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_RIGHT: u32 = 39u32
pub const DOM_VK_RIGHT: u32 = 39u32
The KeyEvent.DOM_VK_RIGHT const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_DOWN: u32 = 40u32
pub const DOM_VK_DOWN: u32 = 40u32
The KeyEvent.DOM_VK_DOWN const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_SELECT: u32 = 41u32
pub const DOM_VK_SELECT: u32 = 41u32
The KeyEvent.DOM_VK_SELECT const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_PRINT: u32 = 42u32
pub const DOM_VK_PRINT: u32 = 42u32
The KeyEvent.DOM_VK_PRINT const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_EXECUTE: u32 = 43u32
pub const DOM_VK_EXECUTE: u32 = 43u32
The KeyEvent.DOM_VK_EXECUTE const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_PRINTSCREEN: u32 = 44u32
pub const DOM_VK_PRINTSCREEN: u32 = 44u32
The KeyEvent.DOM_VK_PRINTSCREEN const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_INSERT: u32 = 45u32
pub const DOM_VK_INSERT: u32 = 45u32
The KeyEvent.DOM_VK_INSERT const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_DELETE: u32 = 46u32
pub const DOM_VK_DELETE: u32 = 46u32
The KeyEvent.DOM_VK_DELETE const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_0: u32 = 48u32
pub const DOM_VK_0: u32 = 48u32
The KeyEvent.DOM_VK_0 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_1: u32 = 49u32
pub const DOM_VK_1: u32 = 49u32
The KeyEvent.DOM_VK_1 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_2: u32 = 50u32
pub const DOM_VK_2: u32 = 50u32
The KeyEvent.DOM_VK_2 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_3: u32 = 51u32
pub const DOM_VK_3: u32 = 51u32
The KeyEvent.DOM_VK_3 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_4: u32 = 52u32
pub const DOM_VK_4: u32 = 52u32
The KeyEvent.DOM_VK_4 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_5: u32 = 53u32
pub const DOM_VK_5: u32 = 53u32
The KeyEvent.DOM_VK_5 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_6: u32 = 54u32
pub const DOM_VK_6: u32 = 54u32
The KeyEvent.DOM_VK_6 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_7: u32 = 55u32
pub const DOM_VK_7: u32 = 55u32
The KeyEvent.DOM_VK_7 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_8: u32 = 56u32
pub const DOM_VK_8: u32 = 56u32
The KeyEvent.DOM_VK_8 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_9: u32 = 57u32
pub const DOM_VK_9: u32 = 57u32
The KeyEvent.DOM_VK_9 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_COLON: u32 = 58u32
pub const DOM_VK_COLON: u32 = 58u32
The KeyEvent.DOM_VK_COLON const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_SEMICOLON: u32 = 59u32
pub const DOM_VK_SEMICOLON: u32 = 59u32
The KeyEvent.DOM_VK_SEMICOLON const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_LESS_THAN: u32 = 60u32
pub const DOM_VK_LESS_THAN: u32 = 60u32
The KeyEvent.DOM_VK_LESS_THAN const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_EQUALS: u32 = 61u32
pub const DOM_VK_EQUALS: u32 = 61u32
The KeyEvent.DOM_VK_EQUALS const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_GREATER_THAN: u32 = 62u32
pub const DOM_VK_GREATER_THAN: u32 = 62u32
The KeyEvent.DOM_VK_GREATER_THAN const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_QUESTION_MARK: u32 = 63u32
pub const DOM_VK_QUESTION_MARK: u32 = 63u32
The KeyEvent.DOM_VK_QUESTION_MARK const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_AT: u32 = 64u32
pub const DOM_VK_AT: u32 = 64u32
The KeyEvent.DOM_VK_AT const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_A: u32 = 65u32
pub const DOM_VK_A: u32 = 65u32
The KeyEvent.DOM_VK_A const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_B: u32 = 66u32
pub const DOM_VK_B: u32 = 66u32
The KeyEvent.DOM_VK_B const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_C: u32 = 67u32
pub const DOM_VK_C: u32 = 67u32
The KeyEvent.DOM_VK_C const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_D: u32 = 68u32
pub const DOM_VK_D: u32 = 68u32
The KeyEvent.DOM_VK_D const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_E: u32 = 69u32
pub const DOM_VK_E: u32 = 69u32
The KeyEvent.DOM_VK_E const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_F: u32 = 70u32
pub const DOM_VK_F: u32 = 70u32
The KeyEvent.DOM_VK_F const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_G: u32 = 71u32
pub const DOM_VK_G: u32 = 71u32
The KeyEvent.DOM_VK_G const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_H: u32 = 72u32
pub const DOM_VK_H: u32 = 72u32
The KeyEvent.DOM_VK_H const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_I: u32 = 73u32
pub const DOM_VK_I: u32 = 73u32
The KeyEvent.DOM_VK_I const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_J: u32 = 74u32
pub const DOM_VK_J: u32 = 74u32
The KeyEvent.DOM_VK_J const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_K: u32 = 75u32
pub const DOM_VK_K: u32 = 75u32
The KeyEvent.DOM_VK_K const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_L: u32 = 76u32
pub const DOM_VK_L: u32 = 76u32
The KeyEvent.DOM_VK_L const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_M: u32 = 77u32
pub const DOM_VK_M: u32 = 77u32
The KeyEvent.DOM_VK_M const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_N: u32 = 78u32
pub const DOM_VK_N: u32 = 78u32
The KeyEvent.DOM_VK_N const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_O: u32 = 79u32
pub const DOM_VK_O: u32 = 79u32
The KeyEvent.DOM_VK_O const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_P: u32 = 80u32
pub const DOM_VK_P: u32 = 80u32
The KeyEvent.DOM_VK_P const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_Q: u32 = 81u32
pub const DOM_VK_Q: u32 = 81u32
The KeyEvent.DOM_VK_Q const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_R: u32 = 82u32
pub const DOM_VK_R: u32 = 82u32
The KeyEvent.DOM_VK_R const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_S: u32 = 83u32
pub const DOM_VK_S: u32 = 83u32
The KeyEvent.DOM_VK_S const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_T: u32 = 84u32
pub const DOM_VK_T: u32 = 84u32
The KeyEvent.DOM_VK_T const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_U: u32 = 85u32
pub const DOM_VK_U: u32 = 85u32
The KeyEvent.DOM_VK_U const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_V: u32 = 86u32
pub const DOM_VK_V: u32 = 86u32
The KeyEvent.DOM_VK_V const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_W: u32 = 87u32
pub const DOM_VK_W: u32 = 87u32
The KeyEvent.DOM_VK_W const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_X: u32 = 88u32
pub const DOM_VK_X: u32 = 88u32
The KeyEvent.DOM_VK_X const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_Y: u32 = 89u32
pub const DOM_VK_Y: u32 = 89u32
The KeyEvent.DOM_VK_Y const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_Z: u32 = 90u32
pub const DOM_VK_Z: u32 = 90u32
The KeyEvent.DOM_VK_Z const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_WIN: u32 = 91u32
pub const DOM_VK_WIN: u32 = 91u32
The KeyEvent.DOM_VK_WIN const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_CONTEXT_MENU: u32 = 93u32
pub const DOM_VK_CONTEXT_MENU: u32 = 93u32
The KeyEvent.DOM_VK_CONTEXT_MENU const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_SLEEP: u32 = 95u32
pub const DOM_VK_SLEEP: u32 = 95u32
The KeyEvent.DOM_VK_SLEEP const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_NUMPAD0: u32 = 96u32
pub const DOM_VK_NUMPAD0: u32 = 96u32
The KeyEvent.DOM_VK_NUMPAD0 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_NUMPAD1: u32 = 97u32
pub const DOM_VK_NUMPAD1: u32 = 97u32
The KeyEvent.DOM_VK_NUMPAD1 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_NUMPAD2: u32 = 98u32
pub const DOM_VK_NUMPAD2: u32 = 98u32
The KeyEvent.DOM_VK_NUMPAD2 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_NUMPAD3: u32 = 99u32
pub const DOM_VK_NUMPAD3: u32 = 99u32
The KeyEvent.DOM_VK_NUMPAD3 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_NUMPAD4: u32 = 100u32
pub const DOM_VK_NUMPAD4: u32 = 100u32
The KeyEvent.DOM_VK_NUMPAD4 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_NUMPAD5: u32 = 101u32
pub const DOM_VK_NUMPAD5: u32 = 101u32
The KeyEvent.DOM_VK_NUMPAD5 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_NUMPAD6: u32 = 102u32
pub const DOM_VK_NUMPAD6: u32 = 102u32
The KeyEvent.DOM_VK_NUMPAD6 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_NUMPAD7: u32 = 103u32
pub const DOM_VK_NUMPAD7: u32 = 103u32
The KeyEvent.DOM_VK_NUMPAD7 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_NUMPAD8: u32 = 104u32
pub const DOM_VK_NUMPAD8: u32 = 104u32
The KeyEvent.DOM_VK_NUMPAD8 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_NUMPAD9: u32 = 105u32
pub const DOM_VK_NUMPAD9: u32 = 105u32
The KeyEvent.DOM_VK_NUMPAD9 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_MULTIPLY: u32 = 106u32
pub const DOM_VK_MULTIPLY: u32 = 106u32
The KeyEvent.DOM_VK_MULTIPLY const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_ADD: u32 = 107u32
pub const DOM_VK_ADD: u32 = 107u32
The KeyEvent.DOM_VK_ADD const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_SEPARATOR: u32 = 108u32
pub const DOM_VK_SEPARATOR: u32 = 108u32
The KeyEvent.DOM_VK_SEPARATOR const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_SUBTRACT: u32 = 109u32
pub const DOM_VK_SUBTRACT: u32 = 109u32
The KeyEvent.DOM_VK_SUBTRACT const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_DECIMAL: u32 = 110u32
pub const DOM_VK_DECIMAL: u32 = 110u32
The KeyEvent.DOM_VK_DECIMAL const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_DIVIDE: u32 = 111u32
pub const DOM_VK_DIVIDE: u32 = 111u32
The KeyEvent.DOM_VK_DIVIDE const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_F1: u32 = 112u32
pub const DOM_VK_F1: u32 = 112u32
The KeyEvent.DOM_VK_F1 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_F2: u32 = 113u32
pub const DOM_VK_F2: u32 = 113u32
The KeyEvent.DOM_VK_F2 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_F3: u32 = 114u32
pub const DOM_VK_F3: u32 = 114u32
The KeyEvent.DOM_VK_F3 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_F4: u32 = 115u32
pub const DOM_VK_F4: u32 = 115u32
The KeyEvent.DOM_VK_F4 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_F5: u32 = 116u32
pub const DOM_VK_F5: u32 = 116u32
The KeyEvent.DOM_VK_F5 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_F6: u32 = 117u32
pub const DOM_VK_F6: u32 = 117u32
The KeyEvent.DOM_VK_F6 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_F7: u32 = 118u32
pub const DOM_VK_F7: u32 = 118u32
The KeyEvent.DOM_VK_F7 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_F8: u32 = 119u32
pub const DOM_VK_F8: u32 = 119u32
The KeyEvent.DOM_VK_F8 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_F9: u32 = 120u32
pub const DOM_VK_F9: u32 = 120u32
The KeyEvent.DOM_VK_F9 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_F10: u32 = 121u32
pub const DOM_VK_F10: u32 = 121u32
The KeyEvent.DOM_VK_F10 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_F11: u32 = 122u32
pub const DOM_VK_F11: u32 = 122u32
The KeyEvent.DOM_VK_F11 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_F12: u32 = 123u32
pub const DOM_VK_F12: u32 = 123u32
The KeyEvent.DOM_VK_F12 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_F13: u32 = 124u32
pub const DOM_VK_F13: u32 = 124u32
The KeyEvent.DOM_VK_F13 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_F14: u32 = 125u32
pub const DOM_VK_F14: u32 = 125u32
The KeyEvent.DOM_VK_F14 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_F15: u32 = 126u32
pub const DOM_VK_F15: u32 = 126u32
The KeyEvent.DOM_VK_F15 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_F16: u32 = 127u32
pub const DOM_VK_F16: u32 = 127u32
The KeyEvent.DOM_VK_F16 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_F17: u32 = 128u32
pub const DOM_VK_F17: u32 = 128u32
The KeyEvent.DOM_VK_F17 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_F18: u32 = 129u32
pub const DOM_VK_F18: u32 = 129u32
The KeyEvent.DOM_VK_F18 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_F19: u32 = 130u32
pub const DOM_VK_F19: u32 = 130u32
The KeyEvent.DOM_VK_F19 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_F20: u32 = 131u32
pub const DOM_VK_F20: u32 = 131u32
The KeyEvent.DOM_VK_F20 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_F21: u32 = 132u32
pub const DOM_VK_F21: u32 = 132u32
The KeyEvent.DOM_VK_F21 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_F22: u32 = 133u32
pub const DOM_VK_F22: u32 = 133u32
The KeyEvent.DOM_VK_F22 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_F23: u32 = 134u32
pub const DOM_VK_F23: u32 = 134u32
The KeyEvent.DOM_VK_F23 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_F24: u32 = 135u32
pub const DOM_VK_F24: u32 = 135u32
The KeyEvent.DOM_VK_F24 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_NUM_LOCK: u32 = 144u32
pub const DOM_VK_NUM_LOCK: u32 = 144u32
The KeyEvent.DOM_VK_NUM_LOCK const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_SCROLL_LOCK: u32 = 145u32
pub const DOM_VK_SCROLL_LOCK: u32 = 145u32
The KeyEvent.DOM_VK_SCROLL_LOCK const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_WIN_OEM_FJ_JISHO: u32 = 146u32
pub const DOM_VK_WIN_OEM_FJ_JISHO: u32 = 146u32
The KeyEvent.DOM_VK_WIN_OEM_FJ_JISHO const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_WIN_OEM_FJ_MASSHOU: u32 = 147u32
pub const DOM_VK_WIN_OEM_FJ_MASSHOU: u32 = 147u32
The KeyEvent.DOM_VK_WIN_OEM_FJ_MASSHOU const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_WIN_OEM_FJ_TOUROKU: u32 = 148u32
pub const DOM_VK_WIN_OEM_FJ_TOUROKU: u32 = 148u32
The KeyEvent.DOM_VK_WIN_OEM_FJ_TOUROKU const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_WIN_OEM_FJ_LOYA: u32 = 149u32
pub const DOM_VK_WIN_OEM_FJ_LOYA: u32 = 149u32
The KeyEvent.DOM_VK_WIN_OEM_FJ_LOYA const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_WIN_OEM_FJ_ROYA: u32 = 150u32
pub const DOM_VK_WIN_OEM_FJ_ROYA: u32 = 150u32
The KeyEvent.DOM_VK_WIN_OEM_FJ_ROYA const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_CIRCUMFLEX: u32 = 160u32
pub const DOM_VK_CIRCUMFLEX: u32 = 160u32
The KeyEvent.DOM_VK_CIRCUMFLEX const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_EXCLAMATION: u32 = 161u32
pub const DOM_VK_EXCLAMATION: u32 = 161u32
The KeyEvent.DOM_VK_EXCLAMATION const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_DOUBLE_QUOTE: u32 = 162u32
pub const DOM_VK_DOUBLE_QUOTE: u32 = 162u32
The KeyEvent.DOM_VK_DOUBLE_QUOTE const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_HASH: u32 = 163u32
pub const DOM_VK_HASH: u32 = 163u32
The KeyEvent.DOM_VK_HASH const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_DOLLAR: u32 = 164u32
pub const DOM_VK_DOLLAR: u32 = 164u32
The KeyEvent.DOM_VK_DOLLAR const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_PERCENT: u32 = 165u32
pub const DOM_VK_PERCENT: u32 = 165u32
The KeyEvent.DOM_VK_PERCENT const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_AMPERSAND: u32 = 166u32
pub const DOM_VK_AMPERSAND: u32 = 166u32
The KeyEvent.DOM_VK_AMPERSAND const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_UNDERSCORE: u32 = 167u32
pub const DOM_VK_UNDERSCORE: u32 = 167u32
The KeyEvent.DOM_VK_UNDERSCORE const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_OPEN_PAREN: u32 = 168u32
pub const DOM_VK_OPEN_PAREN: u32 = 168u32
The KeyEvent.DOM_VK_OPEN_PAREN const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_CLOSE_PAREN: u32 = 169u32
pub const DOM_VK_CLOSE_PAREN: u32 = 169u32
The KeyEvent.DOM_VK_CLOSE_PAREN const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_ASTERISK: u32 = 170u32
pub const DOM_VK_ASTERISK: u32 = 170u32
The KeyEvent.DOM_VK_ASTERISK const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_PLUS: u32 = 171u32
pub const DOM_VK_PLUS: u32 = 171u32
The KeyEvent.DOM_VK_PLUS const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_PIPE: u32 = 172u32
pub const DOM_VK_PIPE: u32 = 172u32
The KeyEvent.DOM_VK_PIPE const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_HYPHEN_MINUS: u32 = 173u32
pub const DOM_VK_HYPHEN_MINUS: u32 = 173u32
The KeyEvent.DOM_VK_HYPHEN_MINUS const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_OPEN_CURLY_BRACKET: u32 = 174u32
pub const DOM_VK_OPEN_CURLY_BRACKET: u32 = 174u32
The KeyEvent.DOM_VK_OPEN_CURLY_BRACKET const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_CLOSE_CURLY_BRACKET: u32 = 175u32
pub const DOM_VK_CLOSE_CURLY_BRACKET: u32 = 175u32
The KeyEvent.DOM_VK_CLOSE_CURLY_BRACKET const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_TILDE: u32 = 176u32
pub const DOM_VK_TILDE: u32 = 176u32
The KeyEvent.DOM_VK_TILDE const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_VOLUME_MUTE: u32 = 181u32
pub const DOM_VK_VOLUME_MUTE: u32 = 181u32
The KeyEvent.DOM_VK_VOLUME_MUTE const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_VOLUME_DOWN: u32 = 182u32
pub const DOM_VK_VOLUME_DOWN: u32 = 182u32
The KeyEvent.DOM_VK_VOLUME_DOWN const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_VOLUME_UP: u32 = 183u32
pub const DOM_VK_VOLUME_UP: u32 = 183u32
The KeyEvent.DOM_VK_VOLUME_UP const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_COMMA: u32 = 188u32
pub const DOM_VK_COMMA: u32 = 188u32
The KeyEvent.DOM_VK_COMMA const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_PERIOD: u32 = 190u32
pub const DOM_VK_PERIOD: u32 = 190u32
The KeyEvent.DOM_VK_PERIOD const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_SLASH: u32 = 191u32
pub const DOM_VK_SLASH: u32 = 191u32
The KeyEvent.DOM_VK_SLASH const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_BACK_QUOTE: u32 = 192u32
pub const DOM_VK_BACK_QUOTE: u32 = 192u32
The KeyEvent.DOM_VK_BACK_QUOTE const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_OPEN_BRACKET: u32 = 219u32
pub const DOM_VK_OPEN_BRACKET: u32 = 219u32
The KeyEvent.DOM_VK_OPEN_BRACKET const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_BACK_SLASH: u32 = 220u32
pub const DOM_VK_BACK_SLASH: u32 = 220u32
The KeyEvent.DOM_VK_BACK_SLASH const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_CLOSE_BRACKET: u32 = 221u32
pub const DOM_VK_CLOSE_BRACKET: u32 = 221u32
The KeyEvent.DOM_VK_CLOSE_BRACKET const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_QUOTE: u32 = 222u32
pub const DOM_VK_QUOTE: u32 = 222u32
The KeyEvent.DOM_VK_QUOTE const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_META: u32 = 224u32
pub const DOM_VK_META: u32 = 224u32
The KeyEvent.DOM_VK_META const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_ALTGR: u32 = 225u32
pub const DOM_VK_ALTGR: u32 = 225u32
The KeyEvent.DOM_VK_ALTGR const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_WIN_ICO_HELP: u32 = 227u32
pub const DOM_VK_WIN_ICO_HELP: u32 = 227u32
The KeyEvent.DOM_VK_WIN_ICO_HELP const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_WIN_ICO_00: u32 = 228u32
pub const DOM_VK_WIN_ICO_00: u32 = 228u32
The KeyEvent.DOM_VK_WIN_ICO_00 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_PROCESSKEY: u32 = 229u32
pub const DOM_VK_PROCESSKEY: u32 = 229u32
The KeyEvent.DOM_VK_PROCESSKEY const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_WIN_ICO_CLEAR: u32 = 230u32
pub const DOM_VK_WIN_ICO_CLEAR: u32 = 230u32
The KeyEvent.DOM_VK_WIN_ICO_CLEAR const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_WIN_OEM_RESET: u32 = 233u32
pub const DOM_VK_WIN_OEM_RESET: u32 = 233u32
The KeyEvent.DOM_VK_WIN_OEM_RESET const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_WIN_OEM_JUMP: u32 = 234u32
pub const DOM_VK_WIN_OEM_JUMP: u32 = 234u32
The KeyEvent.DOM_VK_WIN_OEM_JUMP const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_WIN_OEM_PA1: u32 = 235u32
pub const DOM_VK_WIN_OEM_PA1: u32 = 235u32
The KeyEvent.DOM_VK_WIN_OEM_PA1 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_WIN_OEM_PA2: u32 = 236u32
pub const DOM_VK_WIN_OEM_PA2: u32 = 236u32
The KeyEvent.DOM_VK_WIN_OEM_PA2 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_WIN_OEM_PA3: u32 = 237u32
pub const DOM_VK_WIN_OEM_PA3: u32 = 237u32
The KeyEvent.DOM_VK_WIN_OEM_PA3 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_WIN_OEM_WSCTRL: u32 = 238u32
pub const DOM_VK_WIN_OEM_WSCTRL: u32 = 238u32
The KeyEvent.DOM_VK_WIN_OEM_WSCTRL const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_WIN_OEM_CUSEL: u32 = 239u32
pub const DOM_VK_WIN_OEM_CUSEL: u32 = 239u32
The KeyEvent.DOM_VK_WIN_OEM_CUSEL const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_WIN_OEM_ATTN: u32 = 240u32
pub const DOM_VK_WIN_OEM_ATTN: u32 = 240u32
The KeyEvent.DOM_VK_WIN_OEM_ATTN const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_WIN_OEM_FINISH: u32 = 241u32
pub const DOM_VK_WIN_OEM_FINISH: u32 = 241u32
The KeyEvent.DOM_VK_WIN_OEM_FINISH const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_WIN_OEM_COPY: u32 = 242u32
pub const DOM_VK_WIN_OEM_COPY: u32 = 242u32
The KeyEvent.DOM_VK_WIN_OEM_COPY const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_WIN_OEM_AUTO: u32 = 243u32
pub const DOM_VK_WIN_OEM_AUTO: u32 = 243u32
The KeyEvent.DOM_VK_WIN_OEM_AUTO const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_WIN_OEM_ENLW: u32 = 244u32
pub const DOM_VK_WIN_OEM_ENLW: u32 = 244u32
The KeyEvent.DOM_VK_WIN_OEM_ENLW const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_WIN_OEM_BACKTAB: u32 = 245u32
pub const DOM_VK_WIN_OEM_BACKTAB: u32 = 245u32
The KeyEvent.DOM_VK_WIN_OEM_BACKTAB const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_ATTN: u32 = 246u32
pub const DOM_VK_ATTN: u32 = 246u32
The KeyEvent.DOM_VK_ATTN const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_CRSEL: u32 = 247u32
pub const DOM_VK_CRSEL: u32 = 247u32
The KeyEvent.DOM_VK_CRSEL const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_EXSEL: u32 = 248u32
pub const DOM_VK_EXSEL: u32 = 248u32
The KeyEvent.DOM_VK_EXSEL const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_EREOF: u32 = 249u32
pub const DOM_VK_EREOF: u32 = 249u32
The KeyEvent.DOM_VK_EREOF const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_PLAY: u32 = 250u32
pub const DOM_VK_PLAY: u32 = 250u32
The KeyEvent.DOM_VK_PLAY const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_ZOOM: u32 = 251u32
pub const DOM_VK_ZOOM: u32 = 251u32
The KeyEvent.DOM_VK_ZOOM const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_PA1: u32 = 253u32
pub const DOM_VK_PA1: u32 = 253u32
The KeyEvent.DOM_VK_PA1 const.
This API requires the following crate features to be activated: KeyEvent
Sourcepub const DOM_VK_WIN_OEM_CLEAR: u32 = 254u32
pub const DOM_VK_WIN_OEM_CLEAR: u32 = 254u32
The KeyEvent.DOM_VK_WIN_OEM_CLEAR const.
This API requires the following crate features to be activated: KeyEvent
Methods from Deref<Target = Object>§
Sourcepub fn constructor(&self) -> Function
pub fn constructor(&self) -> Function
The constructor property returns a reference to the Object constructor
function that created the instance object.
Sourcepub fn has_own_property(&self, property: &JsValue) -> bool
pub fn has_own_property(&self, property: &JsValue) -> bool
The hasOwnProperty() method returns a boolean indicating whether the
object has the specified property as its own property (as opposed to
inheriting it).
Sourcepub fn is_prototype_of(&self, value: &JsValue) -> bool
pub fn is_prototype_of(&self, value: &JsValue) -> bool
The isPrototypeOf() method checks if an object exists in another
object’s prototype chain.
Sourcepub fn property_is_enumerable(&self, property: &JsValue) -> bool
pub fn property_is_enumerable(&self, property: &JsValue) -> bool
The propertyIsEnumerable() method returns a Boolean indicating
whether the specified property is enumerable.
Sourcepub fn to_locale_string(&self) -> JsString
pub fn to_locale_string(&self) -> JsString
The toLocaleString() method returns a string representing the object.
This method is meant to be overridden by derived objects for
locale-specific purposes.
Sourcepub fn to_string(&self) -> JsString
pub fn to_string(&self) -> JsString
The toString() method returns a string representing the object.
Methods from Deref<Target = JsValue>§
pub const NULL: JsValue
pub const UNDEFINED: JsValue
pub const TRUE: JsValue
pub const FALSE: JsValue
Sourcepub fn as_f64(&self) -> Option<f64>
pub fn as_f64(&self) -> Option<f64>
Returns the f64 value of this JS value if it’s an instance of a
number.
If this JS value is not an instance of a number then this returns
None.
Sourcepub fn as_string(&self) -> Option<String>
pub fn as_string(&self) -> Option<String>
If this JS value is a string value, this function copies the JS string
value into Wasm linear memory, encoded as UTF-8, and returns it as a
Rust String.
To avoid the copying and re-encoding, consider the
JsString::try_from() function from js-sys
instead.
If this JS value is not an instance of a string or if it’s not valid
utf-8 then this returns None.
§UTF-16 vs UTF-8
JavaScript strings in general are encoded as UTF-16, but Rust strings
are encoded as UTF-8. This can cause the Rust string to look a bit
different than the JS string sometimes. For more details see the
documentation about the str type which contains a few
caveats about the encodings.
Sourcepub fn as_bool(&self) -> Option<bool>
pub fn as_bool(&self) -> Option<bool>
Returns the bool value of this JS value if it’s an instance of a
boolean.
If this JS value is not an instance of a boolean then this returns
None.
Sourcepub fn is_undefined(&self) -> bool
pub fn is_undefined(&self) -> bool
Tests whether this JS value is undefined
Sourcepub fn is_null_or_undefined(&self) -> bool
pub fn is_null_or_undefined(&self) -> bool
Tests whether this JS value is null or undefined
Sourcepub fn is_function(&self) -> bool
pub fn is_function(&self) -> bool
Tests whether the type of this JS value is function.
Sourcepub fn js_in(&self, obj: &JsValue) -> bool
pub fn js_in(&self, obj: &JsValue) -> bool
Applies the binary in JS operator on the two JsValues.
Sourcepub fn loose_eq(&self, other: &JsValue) -> bool
pub fn loose_eq(&self, other: &JsValue) -> bool
Compare two JsValues for equality, using the == operator in JS.
Sourcepub fn unsigned_shr(&self, rhs: &JsValue) -> u32
pub fn unsigned_shr(&self, rhs: &JsValue) -> u32
Applies the binary >>> JS operator on the two JsValues.
Sourcepub fn checked_div(&self, rhs: &JsValue) -> JsValue
pub fn checked_div(&self, rhs: &JsValue) -> JsValue
Applies the binary / JS operator on two JsValues, catching and returning any RangeError thrown.
Sourcepub fn pow(&self, rhs: &JsValue) -> JsValue
pub fn pow(&self, rhs: &JsValue) -> JsValue
Applies the binary ** JS operator on the two JsValues.
Sourcepub fn lt(&self, other: &JsValue) -> bool
pub fn lt(&self, other: &JsValue) -> bool
Applies the binary < JS operator on the two JsValues.
Sourcepub fn le(&self, other: &JsValue) -> bool
pub fn le(&self, other: &JsValue) -> bool
Applies the binary <= JS operator on the two JsValues.
Sourcepub fn ge(&self, other: &JsValue) -> bool
pub fn ge(&self, other: &JsValue) -> bool
Applies the binary >= JS operator on the two JsValues.
Sourcepub fn gt(&self, other: &JsValue) -> bool
pub fn gt(&self, other: &JsValue) -> bool
Applies the binary > JS operator on the two JsValues.
Sourcepub fn unchecked_into_f64(&self) -> f64
pub fn unchecked_into_f64(&self) -> f64
Applies the unary + JS operator on a JsValue. Can throw.
Trait Implementations§
Source§impl FromWasmAbi for KeyEvent
impl FromWasmAbi for KeyEvent
Source§impl<'a> IntoWasmAbi for &'a KeyEvent
impl<'a> IntoWasmAbi for &'a KeyEvent
Source§impl IntoWasmAbi for KeyEvent
impl IntoWasmAbi for KeyEvent
Source§impl JsCast for KeyEvent
impl JsCast for KeyEvent
Source§fn instanceof(val: &JsValue) -> bool
fn instanceof(val: &JsValue) -> bool
instanceof check to see whether the JsValue
provided is an instance of this type. Read moreSource§fn unchecked_from_js(val: JsValue) -> Self
fn unchecked_from_js(val: JsValue) -> Self
Source§fn unchecked_from_js_ref(val: &JsValue) -> &Self
fn unchecked_from_js_ref(val: &JsValue) -> &Self
Source§fn has_type<T>(&self) -> boolwhere
T: JsCast,
fn has_type<T>(&self) -> boolwhere
T: JsCast,
T. Read moreSource§fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
T. Read moreSource§fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
T. Read moreSource§fn unchecked_into<T>(self) -> Twhere
T: JsCast,
fn unchecked_into<T>(self) -> Twhere
T: JsCast,
Source§fn unchecked_ref<T>(&self) -> &Twhere
T: JsCast,
fn unchecked_ref<T>(&self) -> &Twhere
T: JsCast,
Source§impl LongRefFromWasmAbi for KeyEvent
impl LongRefFromWasmAbi for KeyEvent
Source§impl OptionFromWasmAbi for KeyEvent
impl OptionFromWasmAbi for KeyEvent
Source§impl<'a> OptionIntoWasmAbi for &'a KeyEvent
impl<'a> OptionIntoWasmAbi for &'a KeyEvent
Source§impl OptionIntoWasmAbi for KeyEvent
impl OptionIntoWasmAbi for KeyEvent
Source§impl RefFromWasmAbi for KeyEvent
impl RefFromWasmAbi for KeyEvent
Source§type Abi = <JsValue as RefFromWasmAbi>::Abi
type Abi = <JsValue as RefFromWasmAbi>::Abi
Self are recovered from.Source§type Anchor = ManuallyDrop<KeyEvent>
type Anchor = ManuallyDrop<KeyEvent>
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.impl Eq for KeyEvent
impl StructuralPartialEq for KeyEvent
Auto Trait Implementations§
impl Freeze for KeyEvent
impl RefUnwindSafe for KeyEvent
impl !Send for KeyEvent
impl !Sync for KeyEvent
impl Unpin for KeyEvent
impl UnwindSafe for KeyEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.