Struct x11rb::protocol::glx::DestroyPixmapRequest
source · pub struct DestroyPixmapRequest {
pub glx_pixmap: u32,
}
Fields§
§glx_pixmap: u32
Implementations§
source§impl DestroyPixmapRequest
impl DestroyPixmapRequest
sourcepub fn serialize(
self,
major_opcode: u8
) -> ([Cow<'static, [u8]>; 1], Vec<OwnedFd>)
pub fn serialize( self, major_opcode: u8 ) -> ([Cow<'static, [u8]>; 1], Vec<OwnedFd>)
Serialize this request into bytes for the provided connection
sourcepub fn try_parse_request(
header: RequestHeader,
value: &[u8]
) -> Result<DestroyPixmapRequest, ParseError>
pub fn try_parse_request( header: RequestHeader, value: &[u8] ) -> Result<DestroyPixmapRequest, ParseError>
Parse this request given its header, its body, and any fds that go along with it
Trait Implementations§
source§impl Clone for DestroyPixmapRequest
impl Clone for DestroyPixmapRequest
source§fn clone(&self) -> DestroyPixmapRequest
fn clone(&self) -> DestroyPixmapRequest
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 DestroyPixmapRequest
impl Debug for DestroyPixmapRequest
source§impl Default for DestroyPixmapRequest
impl Default for DestroyPixmapRequest
source§fn default() -> DestroyPixmapRequest
fn default() -> DestroyPixmapRequest
Returns the “default value” for a type. Read more
source§impl Hash for DestroyPixmapRequest
impl Hash for DestroyPixmapRequest
source§impl Ord for DestroyPixmapRequest
impl Ord for DestroyPixmapRequest
source§fn cmp(&self, other: &DestroyPixmapRequest) -> Ordering
fn cmp(&self, other: &DestroyPixmapRequest) -> 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 DestroyPixmapRequest
impl PartialEq for DestroyPixmapRequest
source§fn eq(&self, other: &DestroyPixmapRequest) -> bool
fn eq(&self, other: &DestroyPixmapRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DestroyPixmapRequest
impl PartialOrd for DestroyPixmapRequest
source§fn partial_cmp(&self, other: &DestroyPixmapRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &DestroyPixmapRequest) -> 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 DestroyPixmapRequest
impl Request for DestroyPixmapRequest
impl Copy for DestroyPixmapRequest
impl Eq for DestroyPixmapRequest
impl StructuralPartialEq for DestroyPixmapRequest
impl VoidRequest for DestroyPixmapRequest
Auto Trait Implementations§
impl Freeze for DestroyPixmapRequest
impl RefUnwindSafe for DestroyPixmapRequest
impl Send for DestroyPixmapRequest
impl Sync for DestroyPixmapRequest
impl Unpin for DestroyPixmapRequest
impl UnwindSafe for DestroyPixmapRequest
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