Struct x11rb_protocol::protocol::xproto::DestroyWindowRequest
source · pub struct DestroyWindowRequest {
pub window: Window,
}
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: Window
Implementations§
Trait Implementations§
source§impl Clone for DestroyWindowRequest
impl Clone for DestroyWindowRequest
source§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 moresource§impl Debug for DestroyWindowRequest
impl Debug for DestroyWindowRequest
source§impl Default for DestroyWindowRequest
impl Default for DestroyWindowRequest
source§fn default() -> DestroyWindowRequest
fn default() -> DestroyWindowRequest
Returns the “default value” for a type. Read more
source§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
)