pub type OnCloseCallback = Box<dyn FnMut(&mut Window) -> OnCloseResponse + Send + Sync>;
struct OnCloseCallback(/* private fields */);