pub enum DispatchKeyEventType {
KeyDown,
KeyUp,
RawKeyDown,
Char,
Unrecognized(String),
}Expand description
The values type accepts on dispatchKeyEvent.
Variants§
KeyDown
keyDown
KeyUp
keyUp
RawKeyDown
rawKeyDown
Char
char
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
Trait Implementations§
Source§impl Clone for DispatchKeyEventType
impl Clone for DispatchKeyEventType
Source§impl Debug for DispatchKeyEventType
impl Debug for DispatchKeyEventType
Source§impl<'de> Deserialize<'de> for DispatchKeyEventType
impl<'de> Deserialize<'de> for DispatchKeyEventType
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
impl Eq for DispatchKeyEventType
Source§impl Hash for DispatchKeyEventType
impl Hash for DispatchKeyEventType
Source§impl PartialEq for DispatchKeyEventType
impl PartialEq for DispatchKeyEventType
Source§impl Serialize for DispatchKeyEventType
impl Serialize for DispatchKeyEventType
impl StructuralPartialEq for DispatchKeyEventType
Auto Trait Implementations§
impl Forget for DispatchKeyEventType
impl Freeze for DispatchKeyEventType
impl RefUnwindSafe for DispatchKeyEventType
impl Send for DispatchKeyEventType
impl Sync for DispatchKeyEventType
impl Unpin for DispatchKeyEventType
impl UnsafeUnpin for DispatchKeyEventType
impl UnwindSafe for DispatchKeyEventType
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