Struct x11rb_protocol::protocol::dri3::BufferFromPixmapRequest
source · pub struct BufferFromPixmapRequest {
pub pixmap: Pixmap,
}
Fields§
§pixmap: Pixmap
Implementations§
source§impl BufferFromPixmapRequest
impl BufferFromPixmapRequest
sourcepub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'static, [u8]>; 1]>
pub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'static, [u8]>; 1]>
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 BufferFromPixmapRequest
impl Clone for BufferFromPixmapRequest
source§fn clone(&self) -> BufferFromPixmapRequest
fn clone(&self) -> BufferFromPixmapRequest
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 BufferFromPixmapRequest
impl Debug for BufferFromPixmapRequest
source§impl Default for BufferFromPixmapRequest
impl Default for BufferFromPixmapRequest
source§fn default() -> BufferFromPixmapRequest
fn default() -> BufferFromPixmapRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BufferFromPixmapRequest
impl<'de> Deserialize<'de> for BufferFromPixmapRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for BufferFromPixmapRequest
impl Hash for BufferFromPixmapRequest
source§impl Ord for BufferFromPixmapRequest
impl Ord for BufferFromPixmapRequest
source§fn cmp(&self, other: &BufferFromPixmapRequest) -> Ordering
fn cmp(&self, other: &BufferFromPixmapRequest) -> 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 BufferFromPixmapRequest
impl PartialEq for BufferFromPixmapRequest
source§fn eq(&self, other: &BufferFromPixmapRequest) -> bool
fn eq(&self, other: &BufferFromPixmapRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BufferFromPixmapRequest
impl PartialOrd for BufferFromPixmapRequest
source§fn partial_cmp(&self, other: &BufferFromPixmapRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &BufferFromPixmapRequest) -> 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 ReplyFDsRequest for BufferFromPixmapRequest
impl ReplyFDsRequest for BufferFromPixmapRequest
§type Reply = BufferFromPixmapReply
type Reply = BufferFromPixmapReply
The kind of reply that this request generates.
source§impl Request for BufferFromPixmapRequest
impl Request for BufferFromPixmapRequest
source§impl Serialize for BufferFromPixmapRequest
impl Serialize for BufferFromPixmapRequest
impl Copy for BufferFromPixmapRequest
impl Eq for BufferFromPixmapRequest
impl StructuralPartialEq for BufferFromPixmapRequest
Auto Trait Implementations§
impl Freeze for BufferFromPixmapRequest
impl RefUnwindSafe for BufferFromPixmapRequest
impl Send for BufferFromPixmapRequest
impl Sync for BufferFromPixmapRequest
impl Unpin for BufferFromPixmapRequest
impl UnwindSafe for BufferFromPixmapRequest
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