Trait DeviceEventTrait

Source
pub trait DeviceEventTrait: AsRaw<libinput_event_device_notify> + Context {
    // Provided method
    fn into_device_event(self) -> DeviceEvent
       where Self: Sized { ... }
}
Expand description

Common functions all Device-Events implement.

Provided Methods§

Source

fn into_device_event(self) -> DeviceEvent
where Self: Sized,

Convert into a general DeviceEvent again

Implementors§