pub struct RedirectSubwindowsRequest {
pub window: Window,
pub update: Redirect,
}
Expand description
Redirect all current and future children of ‘window’.
Hierarchies starting at all current and future children of window will be redirected as in RedirectWindow. If update is Manual, then painting of the window background during window manipulation and ClearArea requests is inhibited.
§Fields
window
- The root of the hierarchy to redirect to off-screen storage.update
- Whether contents are automatically mirrored to the parent window. If one client already specifies an update type of Manual, any attempt by another to specify a mode of Manual so will result in an Access error.
Fields§
§window: Window
§update: Redirect
Implementations§
source§impl RedirectSubwindowsRequest
impl RedirectSubwindowsRequest
sourcepub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'static, [u8]>; 1]>
pub fn serialize(self, major_opcode: u8) -> 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 RedirectSubwindowsRequest
impl Clone for RedirectSubwindowsRequest
source§fn clone(&self) -> RedirectSubwindowsRequest
fn clone(&self) -> RedirectSubwindowsRequest
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 RedirectSubwindowsRequest
impl Debug for RedirectSubwindowsRequest
source§impl Default for RedirectSubwindowsRequest
impl Default for RedirectSubwindowsRequest
source§fn default() -> RedirectSubwindowsRequest
fn default() -> RedirectSubwindowsRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RedirectSubwindowsRequest
impl<'de> Deserialize<'de> for RedirectSubwindowsRequest
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 RedirectSubwindowsRequest
impl Hash for RedirectSubwindowsRequest
source§impl Ord for RedirectSubwindowsRequest
impl Ord for RedirectSubwindowsRequest
source§fn cmp(&self, other: &RedirectSubwindowsRequest) -> Ordering
fn cmp(&self, other: &RedirectSubwindowsRequest) -> 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 RedirectSubwindowsRequest
impl PartialEq for RedirectSubwindowsRequest
source§fn eq(&self, other: &RedirectSubwindowsRequest) -> bool
fn eq(&self, other: &RedirectSubwindowsRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RedirectSubwindowsRequest
impl PartialOrd for RedirectSubwindowsRequest
source§fn partial_cmp(&self, other: &RedirectSubwindowsRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &RedirectSubwindowsRequest) -> 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 RedirectSubwindowsRequest
impl Request for RedirectSubwindowsRequest
impl Copy for RedirectSubwindowsRequest
impl Eq for RedirectSubwindowsRequest
impl StructuralPartialEq for RedirectSubwindowsRequest
impl VoidRequest for RedirectSubwindowsRequest
Auto Trait Implementations§
impl Freeze for RedirectSubwindowsRequest
impl RefUnwindSafe for RedirectSubwindowsRequest
impl Send for RedirectSubwindowsRequest
impl Sync for RedirectSubwindowsRequest
impl Unpin for RedirectSubwindowsRequest
impl UnwindSafe for RedirectSubwindowsRequest
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