Enum xcb::xinput::DeviceClassData
source · 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§
Trait Implementations§
source§impl Clone for DeviceClassData
impl Clone for DeviceClassData
source§fn clone(&self) -> DeviceClassData
fn clone(&self) -> DeviceClassData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for DeviceClassData
impl RefUnwindSafe for DeviceClassData
impl Send for DeviceClassData
impl Sync for DeviceClassData
impl Unpin for DeviceClassData
impl UnwindSafe for DeviceClassData
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more