pub trait PointerEventTrait: AsRaw<libinput_event_pointer> + Context {
// Provided methods
fn time(&self) -> u32 { ... }
fn time_usec(&self) -> u64 { ... }
fn into_pointer_event(self) -> PointerEvent
where Self: Sized { ... }
}
Expand description
Common functions for all Pointer-Events implement.
Provided Methods§
Sourcefn into_pointer_event(self) -> PointerEventwhere
Self: Sized,
fn into_pointer_event(self) -> PointerEventwhere
Self: Sized,
Convert into a general TouchEvent
again