Function wita::run

source · []
pub fn run<F, T, E>(run_type: RunType, f: F) -> Result<(), E>where
    F: FnOnce() -> Result<T, E>,
    T: EventHandler + 'static,
Expand description

Run the event loop.