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: XIDtype_: Atomname: *mut c_charnum_classes: c_intuse_: c_intinputclassinfo: XAnyClassPtrTrait Implementations
sourceimpl Clone for XDeviceInfo
impl Clone for XDeviceInfo
sourcefn clone(&self) -> XDeviceInfo
fn clone(&self) -> XDeviceInfo
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 XDeviceInfo
impl Debug for XDeviceInfo
sourceimpl PartialEq<XDeviceInfo> for XDeviceInfo
impl PartialEq<XDeviceInfo> for XDeviceInfo
sourcefn 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 ==. Read more
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
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