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: u8Trait Implementations§
Source§impl Clone for QueryExtensionReply
 
impl Clone for QueryExtensionReply
Source§fn clone(&self) -> QueryExtensionReply
 
fn clone(&self) -> QueryExtensionReply
Returns a duplicate 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 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§impl PartialOrd for QueryExtensionReply
 
impl PartialOrd for QueryExtensionReply
Source§impl Serialize for QueryExtensionReply
 
impl Serialize for QueryExtensionReply
Source§impl TryParse for QueryExtensionReply
 
impl TryParse for QueryExtensionReply
Source§fn try_parse(
    initial_value: &[u8],
) -> Result<(QueryExtensionReply, &[u8]), ParseError>
 
fn try_parse( initial_value: &[u8], ) -> Result<(QueryExtensionReply, &[u8]), ParseError>
Try to parse the given values into an instance of this type. Read more
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> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<T> Instrument for T
 
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
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<OwnedFd>,
) -> Result<(T, &'a [u8]), ParseError>
 
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<OwnedFd>, ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more