Struct redwm::imports::UnmapWindowRequest [−][src]
pub struct UnmapWindowRequest { pub window: u32, }
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: u32
Implementations
pub fn send<Conn>(
self,
conn: &Conn
) -> Result<VoidCookie<'_, Conn>, ConnectionError> where
Conn: RequestConnection + ?Sized,
pub fn try_parse_request(
header: RequestHeader,
value: &[u8]
) -> Result<UnmapWindowRequest, ParseError>
pub fn try_parse_request(
header: RequestHeader,
value: &[u8]
) -> Result<UnmapWindowRequest, ParseError>
Parse this request given its header, its body, and any fds that go along with it
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more