Function cushy::run

source ยท
pub fn run<F>(app_init: F) -> Result
where F: FnOnce(&mut App) + Send + 'static,
Expand description

Starts running a Cushy application, invoking app_init after the event loop has started.