Enum winit::Event
[−]
[src]
pub enum Event {
WindowEvent {
window_id: WindowId,
event: WindowEvent,
},
DeviceEvent {
device_id: DeviceId,
event: DeviceEvent,
},
Awakened,
Suspended(bool),
}Variants
WindowEventFields of WindowEvent
window_id: WindowId | |
event: WindowEvent |
DeviceEventFields of DeviceEvent
device_id: DeviceId | |
event: DeviceEvent |
AwakenedSuspended(bool)The application has been suspended or resumed.
The parameter is true if app was suspended, and false if it has been resumed.
Trait Implementations
impl Clone for Event[src]
fn clone(&self) -> Event[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more