#[non_exhaustive]#[repr(u8)]pub enum TapSensitivity {
High = 0,
Medium = 1,
Low = 2,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for TapSensitivity
impl Clone for TapSensitivity
Source§fn clone(&self) -> TapSensitivity
fn clone(&self) -> TapSensitivity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TapSensitivity
impl Debug for TapSensitivity
Source§impl Hash for TapSensitivity
impl Hash for TapSensitivity
Source§impl PartialEq for TapSensitivity
impl PartialEq for TapSensitivity
Source§fn eq(&self, other: &TapSensitivity) -> bool
fn eq(&self, other: &TapSensitivity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TapSensitivity
impl Eq for TapSensitivity
impl StructuralPartialEq for TapSensitivity
Auto Trait Implementations§
impl Freeze for TapSensitivity
impl RefUnwindSafe for TapSensitivity
impl Send for TapSensitivity
impl Sync for TapSensitivity
impl Unpin for TapSensitivity
impl UnsafeUnpin for TapSensitivity
impl UnwindSafe for TapSensitivity
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