#[repr(u8)]pub enum RotationStatus {
Inactive = 0,
Start = 1,
Active = 2,
Stop = 3,
}Expand description
Rotation status in thumb wheel events.
Variants§
Inactive = 0
No rotation activity.
Start = 1
Rotation just started.
Active = 2
Rotation in progress.
Stop = 3
Rotation stopped.
Trait Implementations§
Source§impl Clone for RotationStatus
impl Clone for RotationStatus
Source§fn clone(&self) -> RotationStatus
fn clone(&self) -> RotationStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RotationStatus
impl Debug for RotationStatus
Source§impl PartialEq for RotationStatus
impl PartialEq for RotationStatus
Source§impl TryFrom<u8> for RotationStatus
impl TryFrom<u8> for RotationStatus
impl Copy for RotationStatus
impl Eq for RotationStatus
impl StructuralPartialEq for RotationStatus
Auto Trait Implementations§
impl Freeze for RotationStatus
impl RefUnwindSafe for RotationStatus
impl Send for RotationStatus
impl Sync for RotationStatus
impl Unpin for RotationStatus
impl UnwindSafe for RotationStatus
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