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§
source§impl UnmapWindowRequest
impl UnmapWindowRequest
sourcepub fn serialize(self) -> BufWithFds<[Cow<'static, [u8]>; 1]>
pub fn serialize(self) -> BufWithFds<[Cow<'static, [u8]>; 1]>
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§
source§impl Clone for UnmapWindowRequest
impl Clone for UnmapWindowRequest
source§fn clone(&self) -> UnmapWindowRequest
fn clone(&self) -> UnmapWindowRequest
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 UnmapWindowRequest
impl Debug for UnmapWindowRequest
source§impl Default for UnmapWindowRequest
impl Default for UnmapWindowRequest
source§fn default() -> UnmapWindowRequest
fn default() -> UnmapWindowRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UnmapWindowRequest
impl<'de> Deserialize<'de> for UnmapWindowRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for UnmapWindowRequest
impl Hash for UnmapWindowRequest
source§impl Ord for UnmapWindowRequest
impl Ord for UnmapWindowRequest
source§fn cmp(&self, other: &UnmapWindowRequest) -> Ordering
fn cmp(&self, other: &UnmapWindowRequest) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for UnmapWindowRequest
impl PartialEq for UnmapWindowRequest
source§fn 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 ==
.source§impl PartialOrd for UnmapWindowRequest
impl PartialOrd for UnmapWindowRequest
source§fn partial_cmp(&self, other: &UnmapWindowRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &UnmapWindowRequest) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl Request for UnmapWindowRequest
impl Request for UnmapWindowRequest
source§impl Serialize for UnmapWindowRequest
impl Serialize for UnmapWindowRequest
impl Copy for UnmapWindowRequest
impl Eq for UnmapWindowRequest
impl StructuralPartialEq for UnmapWindowRequest
impl VoidRequest for UnmapWindowRequest
Auto Trait Implementations§
impl Freeze for UnmapWindowRequest
impl RefUnwindSafe for UnmapWindowRequest
impl Send for UnmapWindowRequest
impl Sync for UnmapWindowRequest
impl Unpin for UnmapWindowRequest
impl UnwindSafe for UnmapWindowRequest
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