pub struct TapSource {
pub tap_event: bool,
pub single_tap_event: bool,
pub double_tap_event: bool,
pub tap_sign: Sign,
pub x_tap_event: bool,
pub y_tap_event: bool,
pub z_tap_event: bool,
}Expand description
Tap source
Fields§
§tap_event: boolTap event status
false: no tap event detected
true: tap event detected
single_tap_event: boolSingle-tap event status
false: no tap event detected
true: tap event detected
double_tap_event: boolDouble-tap event status
false: no tap event detected
true: tap event detected
tap_sign: SignTap sign
x_tap_event: boolX-axis tap event detection
false: no tap event detected
true: tap event on X-axis detected
y_tap_event: boolY-axis tap event detection
false: no tap event detected
true: tap event on Y-axis detected
z_tap_event: boolZ-axis tap event detection
false: no tap event detected
true: tap event on Z-axis detected
Trait Implementations§
impl Copy for TapSource
Auto Trait Implementations§
impl Freeze for TapSource
impl RefUnwindSafe for TapSource
impl Send for TapSource
impl Sync for TapSource
impl Unpin for TapSource
impl UnwindSafe for TapSource
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)