pub enum DriverEvent {
OnSensorEvent {
event: SensorEvent,
},
_UnknownEvent {
ordinal: u64,
},
}
Variants§
Implementations§
Source§impl DriverEvent
impl DriverEvent
pub fn into_on_sensor_event(self) -> Option<SensorEvent>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DriverEvent
impl RefUnwindSafe for DriverEvent
impl Send for DriverEvent
impl Sync for DriverEvent
impl Unpin for DriverEvent
impl UnwindSafe for DriverEvent
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