#[non_exhaustive]pub struct CrownMode {
pub diverting: ReportingMode,
pub ratchet_mode: RatchetMode,
pub rotation_timeout: u8,
pub short_long_timeout: u8,
pub double_tap_speed: u8,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.diverting: ReportingModeHow events are reported.
ratchet_mode: RatchetModeRatchet mode.
rotation_timeout: u8Rotation timeout, in 10 ms steps.
short_long_timeout: u8Short-long press timeout, in 10 ms steps.
double_tap_speed: u8Double-tap speed, in 10 ms steps.
Trait Implementations§
impl Copy for CrownMode
impl Eq for CrownMode
impl StructuralPartialEq for CrownMode
Auto Trait Implementations§
impl Freeze for CrownMode
impl RefUnwindSafe for CrownMode
impl Send for CrownMode
impl Sync for CrownMode
impl Unpin for CrownMode
impl UnsafeUnpin for CrownMode
impl UnwindSafe for CrownMode
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