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