pub enum SegmentPoint {
    MessageIndex(Field<MessageIndex>),
    PositionLat(Field<Sint32>),
    PositionLong(Field<Sint32>),
    Distance(Field<Uint32>),
    Altitude(Field<Uint16>),
    LeaderTime(Field<Uint32>),
    Unknown {
        data: Vec<u8>,
        field_def_num: u8,
    },
}
Expand description

Navigation and race evaluation point for a segment decribing a point along the segment path and time it took each segment leader to reach that point

Variants

MessageIndex(Field<MessageIndex>)

PositionLat(Field<Sint32>)

PositionLong(Field<Sint32>)

Distance(Field<Uint32>)

Accumulated distance along the segment at the described point

Altitude(Field<Uint16>)

Accumulated altitude along the segment at the described point

LeaderTime(Field<Uint32>)

Accumualted time each leader board member required to reach the described point. This value is zero for all leader board members at the starting point of the segment.

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.