#[non_exhaustive]#[repr(u16)]pub enum RunExerciseName {
Run = 0,
Walk = 1,
Jog = 2,
Sprint = 3,
RunOrWalk = 4,
SpeedWalk = 5,
WarmUp = 6,
}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 RunExerciseName
impl Clone for RunExerciseName
Source§fn clone(&self) -> RunExerciseName
fn clone(&self) -> RunExerciseName
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 RunExerciseName
impl Debug for RunExerciseName
Source§impl Hash for RunExerciseName
impl Hash for RunExerciseName
Source§impl PartialEq for RunExerciseName
impl PartialEq for RunExerciseName
Source§fn eq(&self, other: &RunExerciseName) -> bool
fn eq(&self, other: &RunExerciseName) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RunExerciseName
impl Eq for RunExerciseName
impl StructuralPartialEq for RunExerciseName
Auto Trait Implementations§
impl Freeze for RunExerciseName
impl RefUnwindSafe for RunExerciseName
impl Send for RunExerciseName
impl Sync for RunExerciseName
impl Unpin for RunExerciseName
impl UnsafeUnpin for RunExerciseName
impl UnwindSafe for RunExerciseName
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