Type Definition eframe::AppCreator

source · []
pub type AppCreator = Box<dyn FnOnce(&CreationContext<'_>) -> Box<dyn App>>;
Expand description

This is how your app is created.

You can use the CreationContext to setup egui, restore state, setup OpenGL things, etc.