fn request_close_window(&mut self, window_id: WindowId) {
        if let Some(win) = self.windows.get_mut(window_id) {
            win.handle.close();
        }
    }
/// triggered by a menu item or other command.
///
/// This doesn't close the window; it calls the close method on the platform
/// window handle; the platform should close the window, and then call
/// our handlers `destroy()` method, at which point we can do our cleanup.
triggered by a menu item or other command.
This doesn't close the window; it calls the close method on the platform
window handle; the platform should close the window, and then call
our handlers `destroy()` method, at which point we can do our cleanup.
triggered by a menu item or other command . This doesn ' t close the window ; it calls the close method on the platform window handle ; the platform should close the window and then call our handlers ` destroy () ` method at which point we can do our cleanup .
fn request_close_window(&mut self, window_id: WindowId) {
        if let Some(win) = self.windows.get_mut(window_id) {
            win.handle.close();
        }
    }
fn request_close_window ( & mut self , window_id : WindowId ) { if let Some ( win ) = self . windows . get_mut ( window_id ) { win . handle . close ( ) ; } }
triggered by a menu item or other command.
triggered by a menu item or other command .
&mut self
window_id
WindowId
&mut self
window_id
WindowId