[][src]Enum f1_api::packet::status::DrsSetting

pub enum DrsSetting {
    Unknown,
    NotAllowed,
    Allowed,
}

Setting of the Drag Reduction System

The Drag Reduction System, or DRS, can be disabled and enabled during a race. When it is disabled, drivers cannot activate it.

Variants

Unknown

The DRS setting is unknown, for example because the current formula does not support it.

NotAllowed

DRS is disabled, and cannot be used by drivers.

Allowed

DRS is enabled, and can be used by drivers.

Trait Implementations

impl Clone for DrsSetting[src]

impl Copy for DrsSetting[src]

impl Debug for DrsSetting[src]

impl Default for DrsSetting[src]

impl Eq for DrsSetting[src]

impl Hash for DrsSetting[src]

impl Ord for DrsSetting[src]

impl PartialEq<DrsSetting> for DrsSetting[src]

impl PartialOrd<DrsSetting> for DrsSetting[src]

impl StructuralEq for DrsSetting[src]

impl StructuralPartialEq for DrsSetting[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.