pub trait Context {
// Required method
fn context(&self) -> &Libinput ⓘ;
}Expand description
Trait to receive the underlying context
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl Context for Device
impl Context for DeviceAddedEvent
impl Context for DeviceEvent
impl Context for DeviceGroup
impl Context for DeviceRemovedEvent
impl Context for Event
impl Context for GestureEvent
impl Context for GestureHoldBeginEvent
impl Context for GestureHoldEndEvent
impl Context for GestureHoldEvent
Available on crate feature
libinput_1_19 only.