pub fn start(
event_loop: EventLoop<()>,
context: Context,
app: impl App + 'static
) -> Result<()>Expand description
Start the application.
Depending on the platform, this function may not return (see https://docs.rs/winit/latest/winit/event_loop/struct.EventLoop.html#method.run_app).
On web uses https://docs.rs/winit/latest/wasm32-unknown-unknown/winit/platform/web/trait.EventLoopExtWebSys.html#tymethod.spawn_app instead of run_app().