pub type WindowCloseHandler = Rc<dyn Fn(WindowId)>;
Decides what happens when the user asks to close a window.
pub struct WindowCloseHandler { /* private fields */ }