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