Struct x11rb_async::protocol::composite::RedirectSubwindowsRequest
source · pub struct RedirectSubwindowsRequest {
pub window: u32,
pub update: Redirect,
}Fields§
§window: u32§update: RedirectImplementations§
source§impl RedirectSubwindowsRequest
impl RedirectSubwindowsRequest
sourcepub fn serialize(
self,
major_opcode: u8
) -> (Vec<Cow<'static, [u8]>, Global>, Vec<RawFdContainer, Global>)
pub fn serialize( self, major_opcode: u8 ) -> (Vec<Cow<'static, [u8]>, Global>, Vec<RawFdContainer, Global>)
Serialize this request into bytes for the provided connection
sourcepub fn try_parse_request(
header: RequestHeader,
value: &[u8]
) -> Result<RedirectSubwindowsRequest, ParseError>
pub fn try_parse_request( header: RequestHeader, value: &[u8] ) -> Result<RedirectSubwindowsRequest, 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 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<RedirectSubwindowsRequest> for RedirectSubwindowsRequest
impl PartialEq<RedirectSubwindowsRequest> 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<RedirectSubwindowsRequest> for RedirectSubwindowsRequest
impl PartialOrd<RedirectSubwindowsRequest> 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
source§const EXTENSION_NAME: Option<&'static str> = Some(X11_EXTENSION_NAME)
const EXTENSION_NAME: Option<&'static str> = Some(X11_EXTENSION_NAME)
The protocol name of the extension that this request belongs to, or None for core requests
impl Copy for RedirectSubwindowsRequest
impl Eq for RedirectSubwindowsRequest
impl StructuralEq for RedirectSubwindowsRequest
impl StructuralPartialEq for RedirectSubwindowsRequest
impl VoidRequest for RedirectSubwindowsRequest
Auto Trait Implementations§
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