Trait input::event::touch::TouchEventTrait
[−]
[src]
pub trait TouchEventTrait: AsRaw<libinput_event_touch> {
fn time(&self) -> u32 { ... }
fn time_usec(&self) -> u64 { ... }
fn into_touch_event(self) -> TouchEvent where Self: Sized { ... }
}Common functions all Touch-Events implement.
Provided Methods
fn time(&self) -> u32
The event time for this event
fn time_usec(&self) -> u64
The event time for this event in microseconds
fn into_touch_event(self) -> TouchEvent where Self: Sized
Convert into a general TouchEvent again
Implementors
impl<T: AsRaw<libinput_event_touch>> TouchEventTrait for T