Struct gilrs_core::Event [−][src]
pub struct Event {
pub id: usize,
pub event: EventType,
pub time: SystemTime,
}Expand description
Holds information about gamepad event.
Fields
id: usizeId of gamepad.
event: EventTypeEvent’s data.
time: SystemTimeTime when event was emitted.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Event
impl UnwindSafe for Event
Blanket Implementations
Mutably borrows from an owned value. Read more
