Struct x11rb_protocol::protocol::composite::RedirectWindowRequest
source · pub struct RedirectWindowRequest {
pub window: Window,
pub update: Redirect,
}
Fields§
§window: Window
§update: Redirect
Implementations§
source§impl RedirectWindowRequest
impl RedirectWindowRequest
sourcepub fn serialize(self, major_opcode: u8) -> BufWithFds<PiecewiseBuf<'static>>
pub fn serialize(self, major_opcode: u8) -> BufWithFds<PiecewiseBuf<'static>>
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 RedirectWindowRequest
impl Clone for RedirectWindowRequest
source§fn clone(&self) -> RedirectWindowRequest
fn clone(&self) -> RedirectWindowRequest
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 RedirectWindowRequest
impl Debug for RedirectWindowRequest
source§impl Default for RedirectWindowRequest
impl Default for RedirectWindowRequest
source§fn default() -> RedirectWindowRequest
fn default() -> RedirectWindowRequest
Returns the “default value” for a type. Read more
source§impl Hash for RedirectWindowRequest
impl Hash for RedirectWindowRequest
source§impl Ord for RedirectWindowRequest
impl Ord for RedirectWindowRequest
source§fn cmp(&self, other: &RedirectWindowRequest) -> Ordering
fn cmp(&self, other: &RedirectWindowRequest) -> 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<RedirectWindowRequest> for RedirectWindowRequest
impl PartialEq<RedirectWindowRequest> for RedirectWindowRequest
source§fn eq(&self, other: &RedirectWindowRequest) -> bool
fn eq(&self, other: &RedirectWindowRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<RedirectWindowRequest> for RedirectWindowRequest
impl PartialOrd<RedirectWindowRequest> for RedirectWindowRequest
source§fn partial_cmp(&self, other: &RedirectWindowRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &RedirectWindowRequest) -> 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 RedirectWindowRequest
impl Request for RedirectWindowRequest
impl Copy for RedirectWindowRequest
impl Eq for RedirectWindowRequest
impl StructuralEq for RedirectWindowRequest
impl StructuralPartialEq for RedirectWindowRequest
impl VoidRequest for RedirectWindowRequest
Auto Trait Implementations§
impl RefUnwindSafe for RedirectWindowRequest
impl Send for RedirectWindowRequest
impl Sync for RedirectWindowRequest
impl Unpin for RedirectWindowRequest
impl UnwindSafe for RedirectWindowRequest
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