//! What a host adds to the interface: the desktop app offers remote access
//! to its engine, which a browser cannot.
/// Hooks for the host of the interface.
pub trait AppExtension: std::fmt::Debug {
/// Once per frame, before the windows draw; may show windows of its own.
fn update(&mut self, ctx: &egui::Context);
/// Adds entries to the Config menu.
fn config_menu(&mut self, ui: &mut egui::Ui);
}