pub enum InputEventKind {
key,
btn,
rel,
abs,
mtt,
}
Variants§
Trait Implementations§
Source§impl Clone for InputEventKind
impl Clone for InputEventKind
Source§fn clone(&self) -> InputEventKind
fn clone(&self) -> InputEventKind
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 InputEventKind
impl Debug for InputEventKind
Source§impl<'de> Deserialize<'de> for InputEventKind
impl<'de> Deserialize<'de> for InputEventKind
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 Enum for InputEventKind
impl Enum for InputEventKind
Source§impl FromStr for InputEventKind
impl FromStr for InputEventKind
Source§impl Hash for InputEventKind
impl Hash for InputEventKind
Source§impl Ord for InputEventKind
impl Ord for InputEventKind
Source§fn cmp(&self, other: &InputEventKind) -> Ordering
fn cmp(&self, other: &InputEventKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InputEventKind
impl PartialEq for InputEventKind
Source§impl PartialOrd for InputEventKind
impl PartialOrd for InputEventKind
Source§impl Serialize for InputEventKind
impl Serialize for InputEventKind
impl Copy for InputEventKind
impl Eq for InputEventKind
impl StructuralPartialEq for InputEventKind
Auto Trait Implementations§
impl Freeze for InputEventKind
impl RefUnwindSafe for InputEventKind
impl Send for InputEventKind
impl Sync for InputEventKind
impl Unpin for InputEventKind
impl UnwindSafe for InputEventKind
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