#[non_exhaustive]#[repr(u8)]pub enum ExdDataUnits {
Show 50 variants
NoUnits = 0,
Laps = 1,
MilesPerHour = 2,
KilometersPerHour = 3,
FeetPerHour = 4,
MetersPerHour = 5,
DegreesCelsius = 6,
DegreesFarenheit = 7,
Zone = 8,
Gear = 9,
Rpm = 10,
Bpm = 11,
Degrees = 12,
Millimeters = 13,
Meters = 14,
Kilometers = 15,
Feet = 16,
Yards = 17,
Kilofeet = 18,
Miles = 19,
Time = 20,
EnumTurnType = 21,
Percent = 22,
Watts = 23,
WattsPerKilogram = 24,
EnumBatteryStatus = 25,
EnumBikeLightBeamAngleMode = 26,
EnumBikeLightBatteryStatus = 27,
EnumBikeLightNetworkConfigType = 28,
Lights = 29,
Seconds = 30,
Minutes = 31,
Hours = 32,
Calories = 33,
Kilojoules = 34,
Milliseconds = 35,
SecondPerMile = 36,
SecondPerKilometer = 37,
Centimeter = 38,
EnumCoursePoint = 39,
Bradians = 40,
EnumSport = 41,
InchesHg = 42,
MmHg = 43,
Mbars = 44,
HectoPascals = 45,
FeetPerMin = 46,
MetersPerMin = 47,
MetersPerSec = 48,
EightCardinal = 49,
}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.
NoUnits = 0
Laps = 1
MilesPerHour = 2
KilometersPerHour = 3
FeetPerHour = 4
MetersPerHour = 5
DegreesCelsius = 6
DegreesFarenheit = 7
Zone = 8
Gear = 9
Rpm = 10
Bpm = 11
Degrees = 12
Millimeters = 13
Meters = 14
Kilometers = 15
Feet = 16
Yards = 17
Kilofeet = 18
Miles = 19
Time = 20
EnumTurnType = 21
Percent = 22
Watts = 23
WattsPerKilogram = 24
EnumBatteryStatus = 25
EnumBikeLightBeamAngleMode = 26
EnumBikeLightBatteryStatus = 27
EnumBikeLightNetworkConfigType = 28
Lights = 29
Seconds = 30
Minutes = 31
Hours = 32
Calories = 33
Kilojoules = 34
Milliseconds = 35
SecondPerMile = 36
SecondPerKilometer = 37
Centimeter = 38
EnumCoursePoint = 39
Bradians = 40
EnumSport = 41
InchesHg = 42
MmHg = 43
Mbars = 44
HectoPascals = 45
FeetPerMin = 46
MetersPerMin = 47
MetersPerSec = 48
EightCardinal = 49
Implementations§
Source§impl ExdDataUnits
impl ExdDataUnits
Trait Implementations§
Source§impl Clone for ExdDataUnits
impl Clone for ExdDataUnits
Source§fn clone(&self) -> ExdDataUnits
fn clone(&self) -> ExdDataUnits
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 ExdDataUnits
impl Debug for ExdDataUnits
Source§impl Hash for ExdDataUnits
impl Hash for ExdDataUnits
Source§impl PartialEq for ExdDataUnits
impl PartialEq for ExdDataUnits
Source§fn eq(&self, other: &ExdDataUnits) -> bool
fn eq(&self, other: &ExdDataUnits) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ExdDataUnits
impl Eq for ExdDataUnits
impl StructuralPartialEq for ExdDataUnits
Auto Trait Implementations§
impl Freeze for ExdDataUnits
impl RefUnwindSafe for ExdDataUnits
impl Send for ExdDataUnits
impl Sync for ExdDataUnits
impl Unpin for ExdDataUnits
impl UnsafeUnpin for ExdDataUnits
impl UnwindSafe for ExdDataUnits
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