Struct x11rb::protocol::xinput::DeviceResolutionState [−][src]
pub struct DeviceResolutionState {
pub control_id: DeviceControl,
pub len: u16,
pub resolution_values: Vec<u32>,
pub resolution_min: Vec<u32>,
pub resolution_max: Vec<u32>,
}
Fields
control_id: DeviceControl
len: u16
resolution_values: Vec<u32>
resolution_min: Vec<u32>
resolution_max: Vec<u32>
Implementations
Get the value of the num_valuators
field.
The num_valuators
field is used as the length field of the resolution_values
field.
This function computes the field’s value again based on the length of the list.
Panics
Panics if the value cannot be represented in the target type. This cannot happen with values of the struct received from the X11 server.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DeviceResolutionState
impl Send for DeviceResolutionState
impl Sync for DeviceResolutionState
impl Unpin for DeviceResolutionState
impl UnwindSafe for DeviceResolutionState
Blanket Implementations
Mutably borrows from an owned value. Read more