Struct DestroyWindowRequest
pub struct DestroyWindowRequest {
pub window: u32,
}
Expand description
Destroys a window.
Destroys the specified window and all of its subwindows. A DestroyNotify event is generated for each destroyed window (a DestroyNotify event is first generated for any given window’s inferiors). If the window was mapped, it will be automatically unmapped before destroying.
Calling DestroyWindow on the root window will do nothing.
§Fields
window
- The window to destroy.
§Errors
Window
- The specified window does not exist.
§See
DestroyNotify
: eventMapWindow
: requestUnmapWindow
: request
Fields§
§window: u32
Implementations§
Trait Implementations§
§impl Clone for DestroyWindowRequest
impl Clone for DestroyWindowRequest
§fn clone(&self) -> DestroyWindowRequest
fn clone(&self) -> DestroyWindowRequest
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for DestroyWindowRequest
impl Debug for DestroyWindowRequest
§impl Default for DestroyWindowRequest
impl Default for DestroyWindowRequest
§fn default() -> DestroyWindowRequest
fn default() -> DestroyWindowRequest
Returns the “default value” for a type. Read more
§impl Request for DestroyWindowRequest
impl Request for DestroyWindowRequest
impl Copy for DestroyWindowRequest
impl VoidRequest for DestroyWindowRequest
Auto Trait Implementations§
impl Freeze for DestroyWindowRequest
impl RefUnwindSafe for DestroyWindowRequest
impl Send for DestroyWindowRequest
impl Sync for DestroyWindowRequest
impl Unpin for DestroyWindowRequest
impl UnwindSafe for DestroyWindowRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)