Type Alias eframe::AppCreator

source ·
pub type AppCreator = Box<dyn FnOnce(&CreationContext<'_>) -> Result<Box<dyn App>, Box<dyn Error + Send + Sync>>>;
Expand description

This is how your app is created.

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

Aliased Type§

struct AppCreator(/* private fields */);