Struct x11_dl::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§
source§impl Clone for XExtensionVersion
impl Clone for XExtensionVersion
source§fn clone(&self) -> XExtensionVersion
fn clone(&self) -> XExtensionVersion
Returns a copy 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 XExtensionVersion
impl Debug for XExtensionVersion
source§impl PartialEq for XExtensionVersion
impl PartialEq for XExtensionVersion
source§fn 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 ==
.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§
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