Struct x11::xinput2::XIDeviceInfo

source ·
#[repr(C)]
pub struct XIDeviceInfo { pub deviceid: c_int, pub name: *mut c_char, pub _use: c_int, pub attachment: c_int, pub enabled: c_int, pub num_classes: c_int, pub classes: *mut *mut XIAnyClassInfo, }

Fields

deviceid: c_intname: *mut c_char_use: c_intattachment: c_intenabled: c_intnum_classes: c_intclasses: *mut *mut XIAnyClassInfo

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.