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