#[non_exhaustive]#[repr(u8)]pub enum WktStepTarget {
Show 14 variants
Speed = 0,
HeartRate = 1,
Open = 2,
Cadence = 3,
Power = 4,
Grade = 5,
Resistance = 6,
Power3s = 7,
Power10s = 8,
Power30s = 9,
PowerLap = 10,
SwimStroke = 11,
SpeedLap = 12,
HeartRateLap = 13,
}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.
Speed = 0
HeartRate = 1
Open = 2
Cadence = 3
Power = 4
Grade = 5
Resistance = 6
Power3s = 7
Power10s = 8
Power30s = 9
PowerLap = 10
SwimStroke = 11
SpeedLap = 12
HeartRateLap = 13
Implementations§
Source§impl WktStepTarget
impl WktStepTarget
Trait Implementations§
Source§impl Clone for WktStepTarget
impl Clone for WktStepTarget
Source§fn clone(&self) -> WktStepTarget
fn clone(&self) -> WktStepTarget
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 WktStepTarget
impl Debug for WktStepTarget
Source§impl Hash for WktStepTarget
impl Hash for WktStepTarget
Source§impl PartialEq for WktStepTarget
impl PartialEq for WktStepTarget
Source§fn eq(&self, other: &WktStepTarget) -> bool
fn eq(&self, other: &WktStepTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for WktStepTarget
impl Eq for WktStepTarget
impl StructuralPartialEq for WktStepTarget
Auto Trait Implementations§
impl Freeze for WktStepTarget
impl RefUnwindSafe for WktStepTarget
impl Send for WktStepTarget
impl Sync for WktStepTarget
impl Unpin for WktStepTarget
impl UnsafeUnpin for WktStepTarget
impl UnwindSafe for WktStepTarget
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