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