pub struct DispatchKeyEvent {Show 15 fields
pub type: DispatchKeyEventTypeOption,
pub modifiers: Option<JsUInt>,
pub timestamp: Option<TimeSinceEpoch>,
pub text: Option<String>,
pub unmodified_text: Option<String>,
pub key_identifier: Option<String>,
pub code: Option<String>,
pub key: Option<String>,
pub windows_virtual_key_code: Option<JsUInt>,
pub native_virtual_key_code: Option<JsUInt>,
pub auto_repeat: Option<bool>,
pub is_keypad: Option<bool>,
pub is_system_key: Option<bool>,
pub location: Option<JsUInt>,
pub commands: Option<Vec<String>>,
}Fields§
§type: DispatchKeyEventTypeOption§modifiers: Option<JsUInt>§timestamp: Option<TimeSinceEpoch>§text: Option<String>§unmodified_text: Option<String>§key_identifier: Option<String>§code: Option<String>§key: Option<String>§windows_virtual_key_code: Option<JsUInt>§native_virtual_key_code: Option<JsUInt>§auto_repeat: Option<bool>§is_keypad: Option<bool>§is_system_key: Option<bool>§location: Option<JsUInt>§commands: Option<Vec<String>>Trait Implementations§
Source§impl Clone for DispatchKeyEvent
impl Clone for DispatchKeyEvent
Source§fn clone(&self) -> DispatchKeyEvent
fn clone(&self) -> DispatchKeyEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DispatchKeyEvent
impl Debug for DispatchKeyEvent
Source§impl<'de> Deserialize<'de> for DispatchKeyEvent
impl<'de> Deserialize<'de> for DispatchKeyEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Method for DispatchKeyEvent
impl Method for DispatchKeyEvent
const NAME: &'static str = "Input.dispatchKeyEvent"
type ReturnObject = DispatchKeyEventReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
Source§impl PartialEq for DispatchKeyEvent
impl PartialEq for DispatchKeyEvent
Source§impl Serialize for DispatchKeyEvent
impl Serialize for DispatchKeyEvent
impl StructuralPartialEq for DispatchKeyEvent
Auto Trait Implementations§
impl Freeze for DispatchKeyEvent
impl RefUnwindSafe for DispatchKeyEvent
impl Send for DispatchKeyEvent
impl Sync for DispatchKeyEvent
impl Unpin for DispatchKeyEvent
impl UnwindSafe for DispatchKeyEvent
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