Struct xcb::xinput::IntegerFeedbackState
source · pub struct IntegerFeedbackState { /* private fields */ }
Implementations§
source§impl IntegerFeedbackState
impl IntegerFeedbackState
sourcepub fn new(
class_id: FeedbackClass,
feedback_id: u8,
len: u16,
resolution: u32,
min_value: i32,
max_value: i32,
) -> IntegerFeedbackState
pub fn new( class_id: FeedbackClass, feedback_id: u8, len: u16, resolution: u32, min_value: i32, max_value: i32, ) -> IntegerFeedbackState
Construct a new IntegerFeedbackState.
pub fn class_id(&self) -> FeedbackClass
pub fn feedback_id(&self) -> u8
pub fn len(&self) -> u16
pub fn resolution(&self) -> u32
pub fn min_value(&self) -> i32
pub fn max_value(&self) -> i32
Trait Implementations§
source§impl Clone for IntegerFeedbackState
impl Clone for IntegerFeedbackState
source§fn clone(&self) -> IntegerFeedbackState
fn clone(&self) -> IntegerFeedbackState
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 moresource§impl Debug for IntegerFeedbackState
impl Debug for IntegerFeedbackState
impl Copy for IntegerFeedbackState
Auto Trait Implementations§
impl Freeze for IntegerFeedbackState
impl RefUnwindSafe for IntegerFeedbackState
impl Send for IntegerFeedbackState
impl Sync for IntegerFeedbackState
impl Unpin for IntegerFeedbackState
impl UnwindSafe for IntegerFeedbackState
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
)