Crate winit_runtime

Source
Expand description

§wm: Async runtime over winit’s eventloop

§Features

  1. Alloc free async timer
  2. Zero cost event dispatching
  3. Spawn ui tasks anywhere. Tasks run in eventloop’s thread concurrently

Re-exports§

pub use executor::run;
pub use async_task as task;

Modules§

executor
Implementation of winit Executor
timer

Functions§

build_window
Create new window using given WindowBuilder
create_window
Create new window with default configuration
device
exit
Exit event loop with exit code
resumed
spawn_local_ui_task
Spawn and run new task, on runtime thread
spawn_ui_task
Spawn and run new task, running on runtime thread
suspended
window