pub enum EventType {
Show 14 variants
EV_SYN = 0,
EV_KEY = 1,
EV_REL = 2,
EV_ABS = 3,
EV_MSC = 4,
EV_SW = 5,
EV_LED = 17,
EV_SND = 18,
EV_REP = 20,
EV_FF = 21,
EV_PWR = 22,
EV_FF_STATUS = 23,
EV_UNK = 24,
EV_MAX = 31,
}
Variants§
EV_SYN = 0
EV_KEY = 1
EV_REL = 2
EV_ABS = 3
EV_MSC = 4
EV_SW = 5
EV_LED = 17
EV_SND = 18
EV_REP = 20
EV_FF = 21
EV_PWR = 22
EV_FF_STATUS = 23
EV_UNK = 24
EV_MAX = 31
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for EventType
impl<'de> Deserialize<'de> for EventType
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 Ord for EventType
impl Ord for EventType
source§impl PartialEq for EventType
impl PartialEq for EventType
source§impl PartialOrd for EventType
impl PartialOrd for EventType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for EventType
impl Eq for EventType
impl StructuralPartialEq for EventType
Auto Trait Implementations§
impl Freeze for EventType
impl RefUnwindSafe for EventType
impl Send for EventType
impl Sync for EventType
impl Unpin for EventType
impl UnwindSafe for EventType
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