pub enum DispatchKeyEventType {
KeyDown,
KeyUp,
RawKeyDown,
Char,
}
Expand description
Type of the key event.
Variants§
Trait Implementations§
source§impl AsRef<str> for DispatchKeyEventType
impl AsRef<str> for DispatchKeyEventType
source§impl Clone for DispatchKeyEventType
impl Clone for DispatchKeyEventType
source§fn clone(&self) -> DispatchKeyEventType
fn clone(&self) -> DispatchKeyEventType
Returns a copy 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 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<DispatchKeyEventType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<DispatchKeyEventType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for DispatchKeyEventType
impl FromStr for DispatchKeyEventType
source§impl Hash for DispatchKeyEventType
impl Hash for DispatchKeyEventType
source§impl PartialEq for DispatchKeyEventType
impl PartialEq for DispatchKeyEventType
source§fn eq(&self, other: &DispatchKeyEventType) -> bool
fn eq(&self, other: &DispatchKeyEventType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DispatchKeyEventType
impl Serialize for DispatchKeyEventType
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for DispatchKeyEventType
impl StructuralPartialEq for DispatchKeyEventType
Auto Trait Implementations§
impl Freeze for DispatchKeyEventType
impl RefUnwindSafe for DispatchKeyEventType
impl Send for DispatchKeyEventType
impl Sync for DispatchKeyEventType
impl Unpin 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