pub struct TapRecognizer { /* private fields */ }Expand description
Implementations§
Source§impl TapRecognizer
impl TapRecognizer
Sourcepub fn new(frame_hz: u32) -> Self
pub fn new(frame_hz: u32) -> Self
Create a new recognizer. Settle duration is derived from SETTLE_MS
at the given frame rate.
Auto Trait Implementations§
impl Freeze for TapRecognizer
impl RefUnwindSafe for TapRecognizer
impl Send for TapRecognizer
impl Sync for TapRecognizer
impl Unpin for TapRecognizer
impl UnsafeUnpin for TapRecognizer
impl UnwindSafe for TapRecognizer
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