#[non_exhaustive]#[repr(u8)]pub enum SplitType {
Show 21 variants
AscentSplit = 1,
DescentSplit = 2,
IntervalActive = 3,
IntervalRest = 4,
IntervalWarmup = 5,
IntervalCooldown = 6,
IntervalRecovery = 7,
IntervalOther = 8,
ClimbActive = 9,
ClimbRest = 10,
SurfActive = 11,
RunActive = 12,
RunRest = 13,
WorkoutRound = 14,
RwdRun = 17,
RwdWalk = 18,
WindsurfActive = 21,
RwdStand = 22,
Transition = 23,
SkiLiftSplit = 28,
SkiRunSplit = 29,
}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.
AscentSplit = 1
DescentSplit = 2
IntervalActive = 3
IntervalRest = 4
IntervalWarmup = 5
IntervalCooldown = 6
IntervalRecovery = 7
IntervalOther = 8
ClimbActive = 9
ClimbRest = 10
SurfActive = 11
RunActive = 12
RunRest = 13
WorkoutRound = 14
RwdRun = 17
RwdWalk = 18
WindsurfActive = 21
RwdStand = 22
Transition = 23
SkiLiftSplit = 28
SkiRunSplit = 29
Implementations§
Trait Implementations§
impl Copy for SplitType
impl Eq for SplitType
impl StructuralPartialEq for SplitType
Auto Trait Implementations§
impl Freeze for SplitType
impl RefUnwindSafe for SplitType
impl Send for SplitType
impl Sync for SplitType
impl Unpin for SplitType
impl UnsafeUnpin for SplitType
impl UnwindSafe for SplitType
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