pub type ContextProvider = Rc<dyn Fn(&App) -> Option<ContextRef>>;
pub struct ContextProvider { /* private fields */ }