#[non_exhaustive]pub enum MeasurementRange {
Minus40To20C,
Minus30To50C,
Minus10To80C,
Plus20To100C,
Plus50To125C,
}Expand description
Measurement range of the temperature sensor.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Minus40To20C
-40 °C to 20 °C.
Minus30To50C
-30 °C to 50 °C.
Minus10To80C
-10 °C to 80 °C.
Plus20To100C
20 °C to 100 °C.
Plus50To125C
50 °C to 125 °C.
Trait Implementations§
Source§impl Clone for MeasurementRange
Available on crate feature unstable only.
impl Clone for MeasurementRange
Available on crate feature
unstable only.impl Copy for MeasurementRange
Available on crate feature
unstable only.Source§impl Debug for MeasurementRange
Available on crate feature unstable only.
impl Debug for MeasurementRange
Available on crate feature
unstable only.Source§impl Default for MeasurementRange
Available on crate feature unstable only.
impl Default for MeasurementRange
Available on crate feature
unstable only.impl Eq for MeasurementRange
Available on crate feature
unstable only.Source§impl Hash for MeasurementRange
Available on crate feature unstable only.
impl Hash for MeasurementRange
Available on crate feature
unstable only.Source§impl PartialEq for MeasurementRange
Available on crate feature unstable only.
impl PartialEq for MeasurementRange
Available on crate feature
unstable only.impl StructuralPartialEq for MeasurementRange
Available on crate feature
unstable only.Auto Trait Implementations§
impl Forget for MeasurementRange
impl Freeze for MeasurementRange
impl Move for MeasurementRange
impl RefUnwindSafe for MeasurementRange
impl Send for MeasurementRange
impl Sync for MeasurementRange
impl Unpin for MeasurementRange
impl UnsafeUnpin for MeasurementRange
impl UnwindSafe for MeasurementRange
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)