pub struct ClickTracker {
pub interval: Duration,
pub slop: f32,
/* private fields */
}Expand description
Counts consecutive clicks that are close in time and space.
Fields§
§interval: DurationMaximum delay between clicks of a multi-click.
slop: f32Maximum pointer travel between clicks of a multi-click.
Implementations§
Trait Implementations§
Source§impl Clone for ClickTracker
impl Clone for ClickTracker
Source§impl Debug for ClickTracker
impl Debug for ClickTracker
Auto Trait Implementations§
impl Freeze for ClickTracker
impl RefUnwindSafe for ClickTracker
impl Send for ClickTracker
impl Sync for ClickTracker
impl Unpin for ClickTracker
impl UnsafeUnpin for ClickTracker
impl UnwindSafe for ClickTracker
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