pub enum Length {
Show 19 variants MessageIndex(Field<MessageIndex>), Timestamp(Field<DateTime>), Event(Field<Event>), EventType(Field<EventType>), StartTime(Field<DateTime>), TotalElapsedTime(Field<Uint32>), TotalTimerTime(Field<Uint32>), TotalStrokes(Field<Uint16>), AvgSpeed(Field<Uint16>), SwimStroke(Field<SwimStroke>), AvgSwimmingCadence(Field<Uint8>), EventGroup(Field<Uint8>), TotalCalories(Field<Uint16>), LengthType(Field<LengthType>), PlayerScore(Field<Uint16>), OpponentScore(Field<Uint16>), StrokeCount(Field<Uint16>), ZoneCount(Field<Uint16>), Unknown { data: Vec<u8>, field_def_num: u8, },
}

Variants

MessageIndex(Field<MessageIndex>)

Timestamp(Field<DateTime>)

Event(Field<Event>)

EventType(Field<EventType>)

StartTime(Field<DateTime>)

TotalElapsedTime(Field<Uint32>)

TotalTimerTime(Field<Uint32>)

TotalStrokes(Field<Uint16>)

AvgSpeed(Field<Uint16>)

SwimStroke(Field<SwimStroke>)

AvgSwimmingCadence(Field<Uint8>)

EventGroup(Field<Uint8>)

TotalCalories(Field<Uint16>)

LengthType(Field<LengthType>)

PlayerScore(Field<Uint16>)

OpponentScore(Field<Uint16>)

StrokeCount(Field<Uint16>)

stroke_type enum used as the index

ZoneCount(Field<Uint16>)

zone number used as the index

Unknown

Fields

data: Vec<u8>
field_def_num: u8

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.