pub enum WearableCrownMode {
Scroll,
FocusStep,
DirectionalStep,
}Expand description
Target semantic mapping mode for rotary crown or rotating bezel detent input.
Variants§
Scroll
Translates crown rotation into standard vertical WindowEvent::Scroll deltas.
FocusStep
Translates each whole crown detent into focus navigation (Tab / Shift+Tab).
DirectionalStep
Translates each whole crown detent into discrete arrow step keys (ArrowDown / ArrowUp).
Trait Implementations§
Source§impl Clone for WearableCrownMode
impl Clone for WearableCrownMode
impl Copy for WearableCrownMode
Source§impl Debug for WearableCrownMode
impl Debug for WearableCrownMode
Source§impl Default for WearableCrownMode
impl Default for WearableCrownMode
impl Eq for WearableCrownMode
Source§impl Hash for WearableCrownMode
impl Hash for WearableCrownMode
Source§impl Ord for WearableCrownMode
impl Ord for WearableCrownMode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for WearableCrownMode
impl PartialEq for WearableCrownMode
Source§impl PartialOrd for WearableCrownMode
impl PartialOrd for WearableCrownMode
impl StructuralPartialEq for WearableCrownMode
Auto Trait Implementations§
impl Forget for WearableCrownMode
impl Freeze for WearableCrownMode
impl Move for WearableCrownMode
impl RefUnwindSafe for WearableCrownMode
impl Send for WearableCrownMode
impl Sync for WearableCrownMode
impl Unpin for WearableCrownMode
impl UnsafeUnpin for WearableCrownMode
impl UnwindSafe for WearableCrownMode
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