Trait input::event::EventTrait
source · pub trait EventTrait: Context {
// Provided methods
fn into_event(self) -> Event
where Self: Sized { ... }
fn device(&self) -> Device { ... }
}
Expand description
Common functions all (Sub-)Events implement.
Provided Methods§
sourcefn into_event(self) -> Eventwhere
Self: Sized,
fn into_event(self) -> Eventwhere
Self: Sized,
Convert into a general Event
again