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
sourceimpl Clone for QueryExtensionReply
impl Clone for QueryExtensionReply
sourcefn clone(&self) -> QueryExtensionReply
fn clone(&self) -> QueryExtensionReply
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for QueryExtensionReply
impl Debug for QueryExtensionReply
sourceimpl Default for QueryExtensionReply
impl Default for QueryExtensionReply
sourcefn default() -> QueryExtensionReply
fn default() -> QueryExtensionReply
Returns the “default value” for a type. Read more
sourceimpl From<QueryExtensionReply> for Reply
impl From<QueryExtensionReply> for Reply
sourcefn from(reply: QueryExtensionReply) -> Reply
fn from(reply: QueryExtensionReply) -> Reply
Converts to this type from the input type.
sourceimpl Hash for QueryExtensionReply
impl Hash for QueryExtensionReply
sourceimpl Ord for QueryExtensionReply
impl Ord for QueryExtensionReply
sourceimpl PartialEq<QueryExtensionReply> for QueryExtensionReply
impl PartialEq<QueryExtensionReply> for QueryExtensionReply
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &QueryExtensionReply) -> bool
fn ne(&self, other: &QueryExtensionReply) -> bool
This method tests for !=
.
sourceimpl PartialOrd<QueryExtensionReply> for QueryExtensionReply
impl PartialOrd<QueryExtensionReply> for QueryExtensionReply
sourcefn partial_cmp(&self, other: &QueryExtensionReply) -> Option<Ordering>
fn partial_cmp(&self, other: &QueryExtensionReply) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
sourceimpl TryParse for QueryExtensionReply
impl TryParse for QueryExtensionReply
impl Copy for QueryExtensionReply
impl Eq for QueryExtensionReply
impl StructuralEq for QueryExtensionReply
impl StructuralPartialEq for QueryExtensionReply
Auto Trait Implementations
impl RefUnwindSafe for QueryExtensionReply
impl Send for QueryExtensionReply
impl Sync for QueryExtensionReply
impl Unpin for QueryExtensionReply
impl UnwindSafe for QueryExtensionReply
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more