pub struct UnredirectSubwindowsRequest {
pub window: u32,
pub update: Redirect,
}Fields§
§window: u32§update: RedirectImplementations§
source§impl UnredirectSubwindowsRequest
impl UnredirectSubwindowsRequest
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<UnredirectSubwindowsRequest, ParseError>
pub fn try_parse_request( header: RequestHeader, value: &[u8] ) -> Result<UnredirectSubwindowsRequest, ParseError>
Parse this request given its header, its body, and any fds that go along with it
Trait Implementations§
source§impl Clone for UnredirectSubwindowsRequest
impl Clone for UnredirectSubwindowsRequest
source§fn clone(&self) -> UnredirectSubwindowsRequest
fn clone(&self) -> UnredirectSubwindowsRequest
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 UnredirectSubwindowsRequest
impl Debug for UnredirectSubwindowsRequest
source§impl Default for UnredirectSubwindowsRequest
impl Default for UnredirectSubwindowsRequest
source§fn default() -> UnredirectSubwindowsRequest
fn default() -> UnredirectSubwindowsRequest
Returns the “default value” for a type. Read more
source§impl Hash for UnredirectSubwindowsRequest
impl Hash for UnredirectSubwindowsRequest
source§impl Ord for UnredirectSubwindowsRequest
impl Ord for UnredirectSubwindowsRequest
source§fn cmp(&self, other: &UnredirectSubwindowsRequest) -> Ordering
fn cmp(&self, other: &UnredirectSubwindowsRequest) -> 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<UnredirectSubwindowsRequest> for UnredirectSubwindowsRequest
impl PartialEq<UnredirectSubwindowsRequest> for UnredirectSubwindowsRequest
source§fn eq(&self, other: &UnredirectSubwindowsRequest) -> bool
fn eq(&self, other: &UnredirectSubwindowsRequest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<UnredirectSubwindowsRequest> for UnredirectSubwindowsRequest
impl PartialOrd<UnredirectSubwindowsRequest> for UnredirectSubwindowsRequest
source§fn partial_cmp(&self, other: &UnredirectSubwindowsRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &UnredirectSubwindowsRequest) -> 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 UnredirectSubwindowsRequest
impl Request for UnredirectSubwindowsRequest
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 UnredirectSubwindowsRequest
impl Eq for UnredirectSubwindowsRequest
impl StructuralEq for UnredirectSubwindowsRequest
impl StructuralPartialEq for UnredirectSubwindowsRequest
impl VoidRequest for UnredirectSubwindowsRequest
Auto Trait Implementations§
impl RefUnwindSafe for UnredirectSubwindowsRequest
impl Send for UnredirectSubwindowsRequest
impl Sync for UnredirectSubwindowsRequest
impl Unpin for UnredirectSubwindowsRequest
impl UnwindSafe for UnredirectSubwindowsRequest
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