pub enum KeyEventKind {
Press,
Repeat,
Release,
}
Expand description
Represents a keyboard event kind.
Variants§
Trait Implementations§
Source§impl Clone for KeyEventKind
impl Clone for KeyEventKind
Source§fn clone(&self) -> KeyEventKind
fn clone(&self) -> KeyEventKind
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 KeyEventKind
impl Debug for KeyEventKind
Source§impl<'de> Deserialize<'de> for KeyEventKind
impl<'de> Deserialize<'de> for KeyEventKind
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 Hash for KeyEventKind
impl Hash for KeyEventKind
Source§impl PartialEq for KeyEventKind
impl PartialEq for KeyEventKind
Source§impl PartialOrd for KeyEventKind
impl PartialOrd for KeyEventKind
Source§impl Serialize for KeyEventKind
impl Serialize for KeyEventKind
impl Copy for KeyEventKind
impl Eq for KeyEventKind
impl StructuralPartialEq for KeyEventKind
Auto Trait Implementations§
impl Freeze for KeyEventKind
impl RefUnwindSafe for KeyEventKind
impl Send for KeyEventKind
impl Sync for KeyEventKind
impl Unpin for KeyEventKind
impl UnwindSafe for KeyEventKind
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