Module winit::event_loop

source ·
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.