#[repr(i32)]pub enum PbHeartRateZoneSettingSource {
HeartRateZoneSettingSourceDefault = 0,
HeartRateZoneSettingSourceThreshold = 1,
HeartRateZoneSettingSourceFree = 2,
}Variants§
HeartRateZoneSettingSourceDefault = 0
HeartRateZoneSettingSourceThreshold = 1
HeartRateZoneSettingSourceFree = 2
Implementations§
Trait Implementations§
Source§impl Clone for PbHeartRateZoneSettingSource
impl Clone for PbHeartRateZoneSettingSource
Source§fn clone(&self) -> PbHeartRateZoneSettingSource
fn clone(&self) -> PbHeartRateZoneSettingSource
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 PbHeartRateZoneSettingSource
impl Debug for PbHeartRateZoneSettingSource
Source§impl Default for PbHeartRateZoneSettingSource
impl Default for PbHeartRateZoneSettingSource
Source§fn default() -> PbHeartRateZoneSettingSource
fn default() -> PbHeartRateZoneSettingSource
Returns the “default value” for a type. Read more
Source§impl From<PbHeartRateZoneSettingSource> for i32
impl From<PbHeartRateZoneSettingSource> for i32
Source§fn from(value: PbHeartRateZoneSettingSource) -> i32
fn from(value: PbHeartRateZoneSettingSource) -> i32
Converts to this type from the input type.
Source§impl Hash for PbHeartRateZoneSettingSource
impl Hash for PbHeartRateZoneSettingSource
Source§impl Ord for PbHeartRateZoneSettingSource
impl Ord for PbHeartRateZoneSettingSource
Source§fn cmp(&self, other: &PbHeartRateZoneSettingSource) -> Ordering
fn cmp(&self, other: &PbHeartRateZoneSettingSource) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PbHeartRateZoneSettingSource
impl PartialEq for PbHeartRateZoneSettingSource
Source§fn eq(&self, other: &PbHeartRateZoneSettingSource) -> bool
fn eq(&self, other: &PbHeartRateZoneSettingSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PbHeartRateZoneSettingSource
impl PartialOrd for PbHeartRateZoneSettingSource
impl Copy for PbHeartRateZoneSettingSource
impl Eq for PbHeartRateZoneSettingSource
impl StructuralPartialEq for PbHeartRateZoneSettingSource
Auto Trait Implementations§
impl Freeze for PbHeartRateZoneSettingSource
impl RefUnwindSafe for PbHeartRateZoneSettingSource
impl Send for PbHeartRateZoneSettingSource
impl Sync for PbHeartRateZoneSettingSource
impl Unpin for PbHeartRateZoneSettingSource
impl UnwindSafe for PbHeartRateZoneSettingSource
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