pub enum EventType {
Show 13 variants
Synchronization,
Key,
Relative,
Absolute,
Miscellaneous,
Switch,
Led,
Sound,
Repeat,
ForceFeedback,
Power,
ForceFeedbackStatus,
Raw(u16),
}Expand description
Type d’événement evdev (EV_*). Variante Raw(u16) de repli.
Variants§
Synchronization
EV_SYN — synchronisation / séparateur de paquets.
Key
EV_KEY — touches et boutons.
Relative
EV_REL — déplacements relatifs (souris).
Absolute
EV_ABS — positions absolues (tactile, manette).
Miscellaneous
EV_MSC — événements divers.
Switch
EV_SW — interrupteurs binaires (capot, jack).
Led
EV_LED — LED.
Sound
EV_SND — sorties son.
Repeat
EV_REP — auto-répétition clavier.
ForceFeedback
EV_FF — retour de force.
Power
EV_PWR — alimentation.
ForceFeedbackStatus
EV_FF_STATUS — état du retour de force.
Raw(u16)
Type non nommé.
Implementations§
Trait Implementations§
impl 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 UnsafeUnpin 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