Enum show_image::event::Event [−][src]
pub enum Event {
NewEvents,
WindowEvent(WindowEvent),
DeviceEvent(DeviceEvent),
Suspended,
Resumed,
MainEventsCleared,
RedrawEventsCleared,
AllWindowsClosed,
}
Expand description
Global event.
This also includes window events for all windows.
Variants
New events are available for processing.
This indicates the start of a new event-processing cycle.
WindowEvent(WindowEvent)
A window event.
Tuple Fields of WindowEvent
0: WindowEvent
DeviceEvent(DeviceEvent)
A device event.
Tuple Fields of DeviceEvent
0: DeviceEvent
The application has been suspended.
The application has been resumed.
All input events have been processed and redraw processing is about to begin.
All open redraw requests have been processed.
All windows were closed.
This event can be received multiple times if you open a new window after all windows were closed.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Event
impl UnwindSafe for Event
Blanket Implementations
Mutably borrows from an owned value. Read more