Enum xcb::xinput::DeviceClassData [−][src]
pub enum DeviceClassData {
Key {
keys: Vec<u32>,
},
Button {
state: Vec<u32>,
labels: Vec<Atom>,
},
Valuator {
number: u16,
label: Atom,
min: Fp3232,
max: Fp3232,
value: Fp3232,
resolution: u32,
mode: ValuatorMode,
},
Scroll {
number: u16,
scroll_type: ScrollType,
flags: ScrollFlags,
increment: Fp3232,
},
Touch {
mode: TouchMode,
num_touches: u8,
},
}
Variants
Key
Button
Valuator
Scroll
Touch
Trait Implementations
type Params = DeviceClassDataParams
type Params = DeviceClassDataParams
type to external context necessary to compute the length
Compute the length of serialized data of an instance starting by ptr
. Read more
Auto Trait Implementations
impl RefUnwindSafe for DeviceClassData
impl Send for DeviceClassData
impl Sync for DeviceClassData
impl Unpin for DeviceClassData
impl UnwindSafe for DeviceClassData
Blanket Implementations
Mutably borrows from an owned value. Read more