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