Enum winit::Event
[−]
[src]
pub enum Event {
WindowEvent {
window_id: WindowId,
event: WindowEvent,
},
DeviceEvent {
device_id: DeviceId,
event: DeviceEvent,
},
Awakened,
}Variants
WindowEventFields of WindowEvent
window_id: WindowId | |
event: WindowEvent |
DeviceEventFields of DeviceEvent
device_id: DeviceId | |
event: DeviceEvent |
AwakenedTrait Implementations
impl Clone for Event[src]
fn clone(&self) -> Event
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more