pub fn unmap_window(&mut self, window: &Window) {
        if let Some(map) = window.user_data().get::<WindowUserdata>() {
            map.borrow_mut().remove(&self.id);
        }
        self.windows.shift_remove(window);
    }
/// Unmap a [`Window`] from this space.
///
/// This function does nothing for already unmapped windows
Unmap a [`Window`] from this space.
This function does nothing for already unmapped windows
Unmap a [ ` Window ` ] from this space . This function does nothing for already unmapped windows
pub fn unmap_window(&mut self, window: &Window) {
        if let Some(map) = window.user_data().get::<WindowUserdata>() {
            map.borrow_mut().remove(&self.id);
        }
        self.windows.shift_remove(window);
    }
pub fn unmap_window ( & mut self , window : & Window ) { if let Some ( map ) = window . user_data ( ) . get :: < WindowUserdata > ( ) { map . borrow_mut ( ) . remove ( & self . id ) ; } self . windows . shift_remove ( window ) ; }
Unmap a [`Window`] from this space.
Unmap a [ ` Window ` ] from this space .
&mut self
window
&Window
&mut self
window
&Window