Struct x11::xinput::XDeviceInfo
source · #[repr(C)]pub struct XDeviceInfo {
pub id: XID,
pub type_: Atom,
pub name: *mut c_char,
pub num_classes: c_int,
pub use_: c_int,
pub inputclassinfo: XAnyClassPtr,
}
Fields§
§id: XID
§type_: Atom
§name: *mut c_char
§num_classes: c_int
§use_: c_int
§inputclassinfo: XAnyClassPtr
Trait Implementations§
source§impl Clone for XDeviceInfo
impl Clone for XDeviceInfo
source§fn clone(&self) -> XDeviceInfo
fn clone(&self) -> XDeviceInfo
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 XDeviceInfo
impl Debug for XDeviceInfo
source§impl PartialEq<XDeviceInfo> for XDeviceInfo
impl PartialEq<XDeviceInfo> for XDeviceInfo
source§fn eq(&self, other: &XDeviceInfo) -> bool
fn eq(&self, other: &XDeviceInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.