pub enum CalType {
Enabled = 0,
NoCal = 1,
NoCalEnhanced = 2,
}Expand description
Sensor read calibration mode.
Variants§
Enabled = 0
Apply stored calibration.
NoCal = 1
Return raw, uncalibrated data.
NoCalEnhanced = 2
Return raw data with enhanced (extended-range) scaling.
Implementations§
Trait Implementations§
impl Copy for CalType
impl Eq for CalType
impl StructuralPartialEq for CalType
Auto Trait Implementations§
impl Freeze for CalType
impl RefUnwindSafe for CalType
impl Send for CalType
impl Sync for CalType
impl Unpin for CalType
impl UnsafeUnpin for CalType
impl UnwindSafe for CalType
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