Struct x11::xinput::XExtensionVersion
source · [−]#[repr(C)]pub struct XExtensionVersion {
pub present: c_int,
pub major_version: c_short,
pub minor_version: c_short,
}
Fields
present: c_int
major_version: c_short
minor_version: c_short
Trait Implementations
sourceimpl Clone for XExtensionVersion
impl Clone for XExtensionVersion
sourcefn clone(&self) -> XExtensionVersion
fn clone(&self) -> XExtensionVersion
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 XExtensionVersion
impl Debug for XExtensionVersion
sourceimpl PartialEq<XExtensionVersion> for XExtensionVersion
impl PartialEq<XExtensionVersion> for XExtensionVersion
sourcefn eq(&self, other: &XExtensionVersion) -> bool
fn eq(&self, other: &XExtensionVersion) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for XExtensionVersion
impl StructuralPartialEq for XExtensionVersion
Auto Trait Implementations
impl RefUnwindSafe for XExtensionVersion
impl Send for XExtensionVersion
impl Sync for XExtensionVersion
impl Unpin for XExtensionVersion
impl UnwindSafe for XExtensionVersion
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