#[non_exhaustive]#[repr(u8)]pub enum Spo2MeasurementType {
OffWrist = 0,
SpotCheck = 1,
ContinuousCheck = 2,
Periodic = 3,
}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.
Implementations§
Trait Implementations§
Source§impl Clone for Spo2MeasurementType
impl Clone for Spo2MeasurementType
Source§fn clone(&self) -> Spo2MeasurementType
fn clone(&self) -> Spo2MeasurementType
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 moreSource§impl Debug for Spo2MeasurementType
impl Debug for Spo2MeasurementType
Source§impl Hash for Spo2MeasurementType
impl Hash for Spo2MeasurementType
Source§impl PartialEq for Spo2MeasurementType
impl PartialEq for Spo2MeasurementType
Source§fn eq(&self, other: &Spo2MeasurementType) -> bool
fn eq(&self, other: &Spo2MeasurementType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Spo2MeasurementType
impl Eq for Spo2MeasurementType
impl StructuralPartialEq for Spo2MeasurementType
Auto Trait Implementations§
impl Freeze for Spo2MeasurementType
impl RefUnwindSafe for Spo2MeasurementType
impl Send for Spo2MeasurementType
impl Sync for Spo2MeasurementType
impl Unpin for Spo2MeasurementType
impl UnsafeUnpin for Spo2MeasurementType
impl UnwindSafe for Spo2MeasurementType
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