run

Function run 

Source
pub fn run<F>(
    runner: RunnerConfig,
    addons_cfg: AddOnsConfig,
    gui: F,
) -> Result<(), DearAppError>
where F: FnMut(&Ui, &mut AddOns<'_>) + 'static,
Expand description

Run an app with configuration and add-ons.

The gui callback is called every frame with access to ImGui Ui and the initialized add-ons.