Struct x11rb_protocol::protocol::xproto::UnmapWindowRequest
source · [−]pub struct UnmapWindowRequest {
pub window: Window,
}
Expand description
Makes a window invisible.
Unmaps the specified window. This means making the window invisible (and all its child windows).
Unmapping a window leads to the UnmapNotify
event being generated. Also,
Expose
events are generated for formerly obscured windows.
Fields
window
- The window to make invisible.
Errors
Window
- The specified window does not exist.
See
UnmapNotify
: eventExpose
: eventMapWindow
: request
Fields
window: Window
Implementations
sourceimpl UnmapWindowRequest
impl UnmapWindowRequest
sourcepub fn serialize(self) -> BufWithFds<PiecewiseBuf<'static>>
pub fn serialize(self) -> BufWithFds<PiecewiseBuf<'static>>
Serialize this request into bytes for the provided connection
sourcepub fn try_parse_request(
header: RequestHeader,
value: &[u8]
) -> Result<Self, ParseError>
pub fn try_parse_request(
header: RequestHeader,
value: &[u8]
) -> Result<Self, ParseError>
Parse this request given its header, its body, and any fds that go along with it
Trait Implementations
sourceimpl Clone for UnmapWindowRequest
impl Clone for UnmapWindowRequest
sourcefn clone(&self) -> UnmapWindowRequest
fn clone(&self) -> UnmapWindowRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UnmapWindowRequest
impl Debug for UnmapWindowRequest
sourceimpl Default for UnmapWindowRequest
impl Default for UnmapWindowRequest
sourcefn default() -> UnmapWindowRequest
fn default() -> UnmapWindowRequest
Returns the “default value” for a type. Read more
sourceimpl Hash for UnmapWindowRequest
impl Hash for UnmapWindowRequest
sourceimpl Ord for UnmapWindowRequest
impl Ord for UnmapWindowRequest
sourceimpl PartialEq<UnmapWindowRequest> for UnmapWindowRequest
impl PartialEq<UnmapWindowRequest> for UnmapWindowRequest
sourcefn eq(&self, other: &UnmapWindowRequest) -> bool
fn eq(&self, other: &UnmapWindowRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UnmapWindowRequest) -> bool
fn ne(&self, other: &UnmapWindowRequest) -> bool
This method tests for !=
.
sourceimpl PartialOrd<UnmapWindowRequest> for UnmapWindowRequest
impl PartialOrd<UnmapWindowRequest> for UnmapWindowRequest
sourcefn partial_cmp(&self, other: &UnmapWindowRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &UnmapWindowRequest) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Request for UnmapWindowRequest
impl Request for UnmapWindowRequest
impl Copy for UnmapWindowRequest
impl Eq for UnmapWindowRequest
impl StructuralEq for UnmapWindowRequest
impl StructuralPartialEq for UnmapWindowRequest
impl VoidRequest for UnmapWindowRequest
Auto Trait Implementations
impl RefUnwindSafe for UnmapWindowRequest
impl Send for UnmapWindowRequest
impl Sync for UnmapWindowRequest
impl Unpin for UnmapWindowRequest
impl UnwindSafe for UnmapWindowRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more