Trait TouchEventTrait

Source
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§

Source

fn time(&self) -> u32

The event time for this event

Source

fn time_usec(&self) -> u64

The event time for this event in microseconds

Source

fn into_touch_event(self) -> TouchEvent
where Self: Sized,

Convert into a general TouchEvent again

Implementors§