Struct breadx::auto::xinput::DeviceClass [−][src]
pub struct DeviceClass {}Show fields
pub ty: DeviceClassType, pub len: u16, pub sourceid: DeviceId, pub keys: Vec<u32>, pub num_buttons: u16, pub state: Vec<u32>, pub labels: Vec<Atom>, pub number: u16, pub label: Atom, pub min: Fp3232, pub max: Fp3232, pub value: Fp3232, pub resolution: u32, pub mode: ValuatorMode, pub number_: u16, pub scroll_type: ScrollType, pub flags: ScrollFlags, pub increment: Fp3232, pub mode_: TouchMode, pub num_touches: u8,
Fields
ty: DeviceClassType
len: u16
sourceid: DeviceId
keys: Vec<u32>
state: Vec<u32>
labels: Vec<Atom>
number: u16
label: Atom
min: Fp3232
max: Fp3232
value: Fp3232
resolution: u32
mode: ValuatorMode
number_: u16
scroll_type: ScrollType
flags: ScrollFlags
increment: Fp3232
mode_: TouchMode
num_touches: u8
Trait Implementations
Convert a sequence of bytes into this item.
Get the size needed to store this item in terms of bytes. Higher is better than lower here, since this is mostly used to allocate buffers for items. Read more
If this item has any file descriptors stored within, this function returns them.
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for DeviceClass
impl Send for DeviceClass
impl Sync for DeviceClass
impl Unpin for DeviceClass
impl UnwindSafe for DeviceClass
Blanket Implementations
Mutably borrows from an owned value. Read more