pub enum KeyEventType {
KeyDown,
KeyUp,
RawKeyDown,
Char,
}Expand description
Type of key event.
Variants§
Trait Implementations§
Source§impl Clone for KeyEventType
impl Clone for KeyEventType
Source§fn clone(&self) -> KeyEventType
fn clone(&self) -> KeyEventType
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 KeyEventType
impl Debug for KeyEventType
Source§impl Serialize for KeyEventType
impl Serialize for KeyEventType
impl Copy for KeyEventType
Auto Trait Implementations§
impl Freeze for KeyEventType
impl RefUnwindSafe for KeyEventType
impl Send for KeyEventType
impl Sync for KeyEventType
impl Unpin for KeyEventType
impl UnwindSafe for KeyEventType
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