Skip to main content

run_native

Function run_native 

Source
pub fn run_native<F>(window: WindowConfigInput, factory: F) -> Result<(), Error>
where F: FnOnce() -> Box<dyn App> + 'static,
Expand description

Boot a tool app on the egui+eframe backend.

factory is called once after the renderer is up and must return the App instance. Mirrors eframe::run_native’s creation callback shape but receives the neutral context type.