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