Enum winit::Event
[−]
[src]
pub enum Event { WindowEvent { window_id: WindowId, event: WindowEvent, }, DeviceEvent { device_id: DeviceId, event: DeviceEvent, }, Awakened, }
Variants
WindowEvent
Fields of WindowEvent
window_id: WindowId | |
event: WindowEvent |
DeviceEvent
Fields of DeviceEvent
device_id: DeviceId | |
event: DeviceEvent |
Awakened
Trait 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