Struct x11rb_protocol::protocol::dri2::GetMSCRequest
source · pub struct GetMSCRequest {
pub drawable: Drawable,
}
Fields§
§drawable: Drawable
Implementations§
source§impl GetMSCRequest
impl GetMSCRequest
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 GetMSCRequest
impl Clone for GetMSCRequest
source§fn clone(&self) -> GetMSCRequest
fn clone(&self) -> GetMSCRequest
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 GetMSCRequest
impl Debug for GetMSCRequest
source§impl Default for GetMSCRequest
impl Default for GetMSCRequest
source§fn default() -> GetMSCRequest
fn default() -> GetMSCRequest
Returns the “default value” for a type. Read more
source§impl Hash for GetMSCRequest
impl Hash for GetMSCRequest
source§impl Ord for GetMSCRequest
impl Ord for GetMSCRequest
source§fn cmp(&self, other: &GetMSCRequest) -> Ordering
fn cmp(&self, other: &GetMSCRequest) -> 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<GetMSCRequest> for GetMSCRequest
impl PartialEq<GetMSCRequest> for GetMSCRequest
source§fn eq(&self, other: &GetMSCRequest) -> bool
fn eq(&self, other: &GetMSCRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<GetMSCRequest> for GetMSCRequest
impl PartialOrd<GetMSCRequest> for GetMSCRequest
source§fn partial_cmp(&self, other: &GetMSCRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &GetMSCRequest) -> 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 ReplyRequest for GetMSCRequest
impl ReplyRequest for GetMSCRequest
§type Reply = GetMSCReply
type Reply = GetMSCReply
The kind of reply that this request generates.
source§impl Request for GetMSCRequest
impl Request for GetMSCRequest
impl Copy for GetMSCRequest
impl Eq for GetMSCRequest
impl StructuralEq for GetMSCRequest
impl StructuralPartialEq for GetMSCRequest
Auto Trait Implementations§
impl RefUnwindSafe for GetMSCRequest
impl Send for GetMSCRequest
impl Sync for GetMSCRequest
impl Unpin for GetMSCRequest
impl UnwindSafe for GetMSCRequest
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