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