Struct x11_dl::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 for XDeviceInfo
impl PartialEq 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 ==
.impl Copy for XDeviceInfo
impl StructuralPartialEq for XDeviceInfo
Auto Trait Implementations§
impl RefUnwindSafe for XDeviceInfo
impl !Send for XDeviceInfo
impl !Sync for XDeviceInfo
impl Unpin for XDeviceInfo
impl UnwindSafe for XDeviceInfo
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