pub enum TapAxis {
X = 0,
Y = 1,
Z = 2,
}Expand description
Dominant accelerometer axis used for tap detection.
Variants§
X = 0
Detect taps along the X axis.
Y = 1
Detect taps along the Y axis.
Z = 2
Detect taps along the Z axis.
Trait Implementations§
impl Copy for TapAxis
impl Eq for TapAxis
impl StructuralPartialEq for TapAxis
Auto Trait Implementations§
impl Freeze for TapAxis
impl RefUnwindSafe for TapAxis
impl Send for TapAxis
impl Sync for TapAxis
impl Unpin for TapAxis
impl UnsafeUnpin for TapAxis
impl UnwindSafe for TapAxis
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