Enum xcb::xinput::FeedbackStateData
source · pub enum FeedbackStateData {
Keyboard {
pitch: u16,
duration: u16,
led_mask: u32,
led_values: u32,
global_auto_repeat: bool,
click: u8,
percent: u8,
auto_repeats: Vec<u8>,
},
Pointer {
accel_num: u16,
accel_denom: u16,
threshold: u16,
},
String {
max_symbols: u16,
keysyms: Vec<Keysym>,
},
Integer {
resolution: u32,
min_value: i32,
max_value: i32,
},
Led {
led_mask: u32,
led_values: u32,
},
Bell {
percent: u8,
pitch: u16,
duration: u16,
},
}
Variants§
Trait Implementations§
source§impl Clone for FeedbackStateData
impl Clone for FeedbackStateData
source§fn clone(&self) -> FeedbackStateData
fn clone(&self) -> FeedbackStateData
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 FeedbackStateData
impl RefUnwindSafe for FeedbackStateData
impl Send for FeedbackStateData
impl Sync for FeedbackStateData
impl Unpin for FeedbackStateData
impl UnwindSafe for FeedbackStateData
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)