pub type EngineHook = Box<dyn FnOnce(&mut Engine)>;
A one-shot callback into the host, run with the engine borrowed.
pub struct EngineHook(/* private fields */);