Skip to main content

AppRunner

Type Alias AppRunner 

Source
pub type AppRunner = Box<dyn FnOnce(App)>;
Expand description

Callback used to drive the application’s main loop.

Set with App::set_runner. The default runner calls App::update in an infinite loop.

Aliased Type§

pub struct AppRunner(/* private fields */);