Struct xcb::x::DestroyWindow
source · pub struct DestroyWindow {
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.
This request has no reply.
Associated cookie types are VoidCookie and VoidCookieChecked.
Fields§
§window: Window
The window to destroy.
Trait Implementations§
source§impl Clone for DestroyWindow
impl Clone for DestroyWindow
source§fn clone(&self) -> DestroyWindow
fn clone(&self) -> DestroyWindow
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 DestroyWindow
impl Debug for DestroyWindow
source§impl RawRequest for DestroyWindow
impl RawRequest for DestroyWindow
source§fn raw_request(&self, c: &Connection, checked: bool) -> u64
fn raw_request(&self, c: &Connection, checked: bool) -> u64
Actual implementation of the request sending Read more
source§impl Request for DestroyWindow
impl Request for DestroyWindow
impl RequestWithoutReply for DestroyWindow
Auto Trait Implementations§
impl Freeze for DestroyWindow
impl RefUnwindSafe for DestroyWindow
impl Send for DestroyWindow
impl Sync for DestroyWindow
impl Unpin for DestroyWindow
impl UnwindSafe for DestroyWindow
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
)