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<XExtensionVersion> for XExtensionVersion
impl PartialEq<XExtensionVersion> 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 ==
.