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§
Sourcefn into_device_event(self) -> DeviceEventwhere
Self: Sized,
fn into_device_event(self) -> DeviceEventwhere
Self: Sized,
Convert into a general DeviceEvent
again