pub enum EventType {
Show 14 variants
EV_SYN,
EV_KEY,
EV_REL,
EV_ABS,
EV_MSC,
EV_SW,
EV_LED,
EV_SND,
EV_REP,
EV_FF,
EV_PWR,
EV_FF_STATUS,
EV_UNK,
EV_MAX,
}
Variants§
EV_SYN
EV_KEY
EV_REL
EV_ABS
EV_MSC
EV_SW
EV_LED
EV_SND
EV_REP
EV_FF
EV_PWR
EV_FF_STATUS
EV_UNK
EV_MAX
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<EventType> for EventType
impl PartialEq<EventType> for EventType
source§impl PartialOrd<EventType> for EventType
impl PartialOrd<EventType> 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 StructuralEq for EventType
impl StructuralPartialEq for EventType
Auto Trait Implementations§
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