Struct breadx::auto::xinput::DeviceValuatorEvent [−][src]
pub struct DeviceValuatorEvent { pub event_type: u8, pub device_id: u8, pub sequence: u16, pub device_state: u16, pub num_valuators: u8, pub first_valuator: u8, pub valuators: [i32; 6], }
Fields
event_type: u8
device_id: u8
sequence: u16
device_state: u16
num_valuators: u8
first_valuator: u8
valuators: [i32; 6]
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 DeviceValuatorEvent
impl Send for DeviceValuatorEvent
impl Sync for DeviceValuatorEvent
impl Unpin for DeviceValuatorEvent
impl UnwindSafe for DeviceValuatorEvent
Blanket Implementations
Mutably borrows from an owned value. Read more