pub type ViewCloseHandler = Rc<dyn Fn(&mut App, &ViewRef)>;
What a request to close one of the views a MultiViewApp shows content in does, given the view.
MultiViewApp
pub struct ViewCloseHandler { /* private fields */ }