#[repr(u8)]pub enum EventType {
Axis = 2,
AxisSynthetic = 130,
Button = 1,
ButtonSynthetic = 129,
}Expand description
Event types
Variants§
Axis = 2
Real axis event
AxisSynthetic = 130
Synthetic axis event
Button = 1
Real button event
ButtonSynthetic = 129
Synthetic button event
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 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