[][src]Struct f1_telemetry_client::f1_2020::session::MarshalZone

pub struct MarshalZone {
    pub zone_start: f32,
    pub zone_flag: ZoneFlag,
}

Fields

zone_start: f32

Fraction (0..1) of way through the lap the marshal zone starts

zone_flag: ZoneFlag

-1 = invalid/unknown, 0 = none, 1 = green, 2 = blue, 3 = yellow, 4 = red

Trait Implementations

impl Clone for MarshalZone[src]

impl Debug for MarshalZone[src]

impl Eq for MarshalZone[src]

impl PartialEq<MarshalZone> for MarshalZone[src]

impl StructuralPartialEq for MarshalZone[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.