pub type EngineFactory = Box<dyn Fn() -> EngineState>;Expand description
Builds a fresh engine for a new document โ the platform runner, the viewcube, and the persisted display settings, all applied before anything is loaded into it. Injected by the shell so tests (which need the SYNCHRONOUS inline runner) can construct documents without a background thread.
Aliased Typeยง
pub struct EngineFactory(/* private fields */);