Struct x11rb_protocol::protocol::ge::QueryVersionReply
source · [−]pub struct QueryVersionReply {
pub sequence: u16,
pub length: u32,
pub major_version: u16,
pub minor_version: u16,
}
Fields
sequence: u16
length: u32
major_version: u16
minor_version: u16
Trait Implementations
sourceimpl Clone for QueryVersionReply
impl Clone for QueryVersionReply
sourcefn clone(&self) -> QueryVersionReply
fn clone(&self) -> QueryVersionReply
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 QueryVersionReply
impl Debug for QueryVersionReply
sourceimpl Default for QueryVersionReply
impl Default for QueryVersionReply
sourcefn default() -> QueryVersionReply
fn default() -> QueryVersionReply
Returns the “default value” for a type. Read more
sourceimpl From<QueryVersionReply> for Reply
impl From<QueryVersionReply> for Reply
sourcefn from(reply: QueryVersionReply) -> Reply
fn from(reply: QueryVersionReply) -> Reply
Converts to this type from the input type.
sourceimpl Hash for QueryVersionReply
impl Hash for QueryVersionReply
sourceimpl Ord for QueryVersionReply
impl Ord for QueryVersionReply
sourceimpl PartialEq<QueryVersionReply> for QueryVersionReply
impl PartialEq<QueryVersionReply> for QueryVersionReply
sourcefn eq(&self, other: &QueryVersionReply) -> bool
fn eq(&self, other: &QueryVersionReply) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &QueryVersionReply) -> bool
fn ne(&self, other: &QueryVersionReply) -> bool
This method tests for !=
.
sourceimpl PartialOrd<QueryVersionReply> for QueryVersionReply
impl PartialOrd<QueryVersionReply> for QueryVersionReply
sourcefn partial_cmp(&self, other: &QueryVersionReply) -> Option<Ordering>
fn partial_cmp(&self, other: &QueryVersionReply) -> 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 QueryVersionReply
impl TryParse for QueryVersionReply
impl Copy for QueryVersionReply
impl Eq for QueryVersionReply
impl StructuralEq for QueryVersionReply
impl StructuralPartialEq for QueryVersionReply
Auto Trait Implementations
impl RefUnwindSafe for QueryVersionReply
impl Send for QueryVersionReply
impl Sync for QueryVersionReply
impl Unpin for QueryVersionReply
impl UnwindSafe for QueryVersionReply
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