Struct x11rb_protocol::protocol::xproto::QueryExtensionReply
source · pub struct QueryExtensionReply {
pub sequence: u16,
pub length: u32,
pub present: bool,
pub major_opcode: u8,
pub first_event: u8,
pub first_error: u8,
}
Expand description
§Fields
present
- Whether the extension is present on this X11 server.major_opcode
- The major opcode for requests.first_event
- The first event code, if any.first_error
- The first error code, if any.
Fields§
§sequence: u16
§length: u32
§present: bool
§major_opcode: u8
§first_event: u8
§first_error: u8
Trait Implementations§
source§impl Clone for QueryExtensionReply
impl Clone for QueryExtensionReply
source§fn clone(&self) -> QueryExtensionReply
fn clone(&self) -> QueryExtensionReply
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 QueryExtensionReply
impl Debug for QueryExtensionReply
source§impl Default for QueryExtensionReply
impl Default for QueryExtensionReply
source§fn default() -> QueryExtensionReply
fn default() -> QueryExtensionReply
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for QueryExtensionReply
impl<'de> Deserialize<'de> for QueryExtensionReply
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 From<QueryExtensionReply> for Reply
impl From<QueryExtensionReply> for Reply
source§fn from(reply: QueryExtensionReply) -> Reply
fn from(reply: QueryExtensionReply) -> Reply
Converts to this type from the input type.
source§impl Hash for QueryExtensionReply
impl Hash for QueryExtensionReply
source§impl Ord for QueryExtensionReply
impl Ord for QueryExtensionReply
source§fn cmp(&self, other: &QueryExtensionReply) -> Ordering
fn cmp(&self, other: &QueryExtensionReply) -> 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 QueryExtensionReply
impl PartialEq for QueryExtensionReply
source§fn eq(&self, other: &QueryExtensionReply) -> bool
fn eq(&self, other: &QueryExtensionReply) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for QueryExtensionReply
impl PartialOrd for QueryExtensionReply
source§fn partial_cmp(&self, other: &QueryExtensionReply) -> Option<Ordering>
fn partial_cmp(&self, other: &QueryExtensionReply) -> 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 Serialize for QueryExtensionReply
impl Serialize for QueryExtensionReply
source§impl Serialize for QueryExtensionReply
impl Serialize for QueryExtensionReply
source§impl TryParse for QueryExtensionReply
impl TryParse for QueryExtensionReply
impl Copy for QueryExtensionReply
impl Eq for QueryExtensionReply
impl StructuralPartialEq for QueryExtensionReply
Auto Trait Implementations§
impl Freeze for QueryExtensionReply
impl RefUnwindSafe for QueryExtensionReply
impl Send for QueryExtensionReply
impl Sync for QueryExtensionReply
impl Unpin for QueryExtensionReply
impl UnwindSafe for QueryExtensionReply
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
source§impl<T> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
source§fn try_parse_fd<'a>(
value: &'a [u8],
_: &mut Vec<RawFdContainer>
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<RawFdContainer> ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more