pub enum ScanAction {
Start = 0,
Stop = 1,
Pause = 2,
Resume = 3,
Freeze = 4,
Unfreeze = 5,
GoToCenter = 6,
}Variants§
Trait Implementations§
Source§impl Clone for ScanAction
impl Clone for ScanAction
Source§fn clone(&self) -> ScanAction
fn clone(&self) -> ScanAction
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 ScanAction
impl Debug for ScanAction
Source§impl From<ScanAction> for u16
impl From<ScanAction> for u16
Source§fn from(action: ScanAction) -> Self
fn from(action: ScanAction) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ScanAction
impl PartialEq for ScanAction
Source§impl TryFrom<u16> for ScanAction
impl TryFrom<u16> for ScanAction
impl Copy for ScanAction
impl Eq for ScanAction
impl StructuralPartialEq for ScanAction
Auto Trait Implementations§
impl Freeze for ScanAction
impl RefUnwindSafe for ScanAction
impl Send for ScanAction
impl Sync for ScanAction
impl Unpin for ScanAction
impl UnwindSafe for ScanAction
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