pub enum CompassCalibrationState {
NotCalibrating,
Horizontal,
Vertical,
Successful,
Failed,
Unnown(u8),
}Variants§
Trait Implementations§
Source§impl Clone for CompassCalibrationState
impl Clone for CompassCalibrationState
Source§fn clone(&self) -> CompassCalibrationState
fn clone(&self) -> CompassCalibrationState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CompassCalibrationState
Source§impl Debug for CompassCalibrationState
impl Debug for CompassCalibrationState
Source§impl From<u8> for CompassCalibrationState
impl From<u8> for CompassCalibrationState
Auto Trait Implementations§
impl Freeze for CompassCalibrationState
impl RefUnwindSafe for CompassCalibrationState
impl Send for CompassCalibrationState
impl Sync for CompassCalibrationState
impl Unpin for CompassCalibrationState
impl UnsafeUnpin for CompassCalibrationState
impl UnwindSafe for CompassCalibrationState
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