#[non_exhaustive]pub enum SensorVariant {
Scd40,
Scd41,
Scd43,
}Expand description
SCD4x sensor variant.
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.
Trait Implementations§
Source§impl Clone for SensorVariant
impl Clone for SensorVariant
Source§fn clone(&self) -> SensorVariant
fn clone(&self) -> SensorVariant
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 SensorVariant
impl Debug for SensorVariant
Source§impl Format for SensorVariant
impl Format for SensorVariant
Source§impl Hash for SensorVariant
impl Hash for SensorVariant
Source§impl PartialEq for SensorVariant
impl PartialEq for SensorVariant
impl Copy for SensorVariant
impl Eq for SensorVariant
impl StructuralPartialEq for SensorVariant
Auto Trait Implementations§
impl Freeze for SensorVariant
impl RefUnwindSafe for SensorVariant
impl Send for SensorVariant
impl Sync for SensorVariant
impl Unpin for SensorVariant
impl UnwindSafe for SensorVariant
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