Expand description
The winit event loop, event translation, and app drivers. Everything winit-specific in this crate: the event loop, event translation, and the windowed app drivers.
A driver for another windowing library (SDL2, tao, a custom loop) would be a sibling module
with the same shape: create a window, translate its events into
Events pushed onto WindowBackend,
and call Presenter::present once per frame.
Re-exports§
pub use run::EventProxy;pub use run::EventProxyClosed;pub use run::WindowConfig;pub use run::run_app;pub use run::run_app_with_proxy;pub use run::run_app_with_typed_proxy;pub use run::run_windowed;pub use run::run_windowed_with_proxy;pub use run::run_windowed_with_typed_proxy;