pub trait TouchEventTrait: AsRaw<libinput_event_touch> + Context {
// Provided methods
fn time(&self) -> u32 { ... }
fn time_usec(&self) -> u64 { ... }
fn into_touch_event(self) -> TouchEvent
where Self: Sized { ... }
}
Expand description
Common functions all Touch-Events implement.
Provided Methods§
Sourcefn into_touch_event(self) -> TouchEventwhere
Self: Sized,
fn into_touch_event(self) -> TouchEventwhere
Self: Sized,
Convert into a general TouchEvent
again