[−][src]Trait input::event::EventTrait
Common functions all (Sub-)Events implement.
Provided methods
fn into_event(self) -> Event where
Self: Sized,
Self: Sized,
Convert into a general Event
again
fn device(&self) -> Device
Return the device associated with this event.
For device added/removed events this is the device added or removed. For all other device events, this is the device that generated the event.