Expand description
The EventLoop
struct and assorted supporting types, including
ControlFlow
.
If you want to send custom events to the event loop, use
EventLoop::create_proxy
to acquire an EventLoopProxy
and call its
send_event
method.
See the root-level documentation for information on how to create and use an event loop to handle events.
Structs§
- Active
Event Loop - Target that associates windows with an
EventLoop
. - Async
Request Serial - A unique identifier of the winit’s async request.
- Event
Loop - Provides a way to retrieve events from the system and from the windows that were registered to the events loop.
- Event
Loop Builder - Object that allows building the event loop.
- Event
Loop Closed - The error that is returned when an
EventLoopProxy
attempts to wake up anEventLoop
that no longer exists. - Event
Loop Proxy - Used to send custom events to
EventLoop
. - Owned
Display Handle - A proxy for the underlying display handle.
Enums§
- Control
Flow - Set through
ActiveEventLoop::set_control_flow()
. - Device
Events - Control when device events are captured.