#[non_exhaustive]pub enum TapButtonMap {
LeftRightMiddle,
LeftMiddleRight,
}
Expand description
Map 1/2/3 finger tips to buttons
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.
LeftRightMiddle
1/2/3 finger tap maps to left/right/middle
LeftMiddleRight
1/2/3 finger tap maps to left/middle/right
Trait Implementations§
Source§impl Clone for TapButtonMap
impl Clone for TapButtonMap
Source§fn clone(&self) -> TapButtonMap
fn clone(&self) -> TapButtonMap
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 TapButtonMap
impl Debug for TapButtonMap
Source§impl Hash for TapButtonMap
impl Hash for TapButtonMap
Source§impl PartialEq for TapButtonMap
impl PartialEq for TapButtonMap
impl Copy for TapButtonMap
impl Eq for TapButtonMap
impl StructuralPartialEq for TapButtonMap
Auto Trait Implementations§
impl Freeze for TapButtonMap
impl RefUnwindSafe for TapButtonMap
impl Send for TapButtonMap
impl Sync for TapButtonMap
impl Unpin for TapButtonMap
impl UnwindSafe for TapButtonMap
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