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