#[non_exhaustive]pub enum ClickTiming {
Makcu,
Ferrum,
Fixed(Duration),
Off,
}Expand description
what click() and the key and media taps do on a box that can’t time them itself
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.
Makcu
a random hold from 35 to 75 ms, the same as MAKCU’s own click
Ferrum
a random hold from 75 to 125 ms, the same as Ferrum’s own click
Fixed(Duration)
Off
a click or tap without a hold fails on a box like that, so you have to give it one
Trait Implementations§
Source§impl Clone for ClickTiming
impl Clone for ClickTiming
impl Copy for ClickTiming
Source§impl Debug for ClickTiming
impl Debug for ClickTiming
Source§impl Default for ClickTiming
impl Default for ClickTiming
impl Eq for ClickTiming
Source§impl PartialEq for ClickTiming
impl PartialEq for ClickTiming
impl StructuralPartialEq for ClickTiming
Auto Trait Implementations§
impl Freeze for ClickTiming
impl RefUnwindSafe for ClickTiming
impl Send for ClickTiming
impl Sync for ClickTiming
impl Unpin for ClickTiming
impl UnsafeUnpin for ClickTiming
impl UnwindSafe for ClickTiming
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