Trait input::event::switch::SwitchEventTrait [] [src]

pub trait SwitchEventTrait: AsRaw<libinput_event_switch> {
    fn time(&self) -> u32 { ... }
    fn time_usec(&self) -> u64 { ... }
    fn into_switch_event(self) -> SwitchEvent where Self: Sized { ... }
}

Common functions all Switch-Events implement.

Provided Methods

The event time for this event

The event time for this event in microseconds

Convert into a general SwitchEvent again

Implementors