pub enum TapDetectionMode {
Sensitive = 0,
Normal = 1,
Robust = 2,
}Expand description
Detection profile for tap recognition.
Variants§
Sensitive = 0
Most sensitive profile. Useful for stable devices.
Normal = 1
Balanced default profile.
Robust = 2
More robust profile with reduced false detections in noisy scenarios.
Trait Implementations§
Source§impl Clone for TapDetectionMode
impl Clone for TapDetectionMode
Source§fn clone(&self) -> TapDetectionMode
fn clone(&self) -> TapDetectionMode
Returns a duplicate 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 TapDetectionMode
impl Debug for TapDetectionMode
Source§impl Format for TapDetectionMode
impl Format for TapDetectionMode
Source§impl PartialEq for TapDetectionMode
impl PartialEq for TapDetectionMode
impl Copy for TapDetectionMode
impl Eq for TapDetectionMode
impl StructuralPartialEq for TapDetectionMode
Auto Trait Implementations§
impl Freeze for TapDetectionMode
impl RefUnwindSafe for TapDetectionMode
impl Send for TapDetectionMode
impl Sync for TapDetectionMode
impl Unpin for TapDetectionMode
impl UnsafeUnpin for TapDetectionMode
impl UnwindSafe for TapDetectionMode
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