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

pub enum TractionControl {
    Off,
    Low,
    High,
}

Traction control settings

Traction control is a driver assist that does only exist in-game, and not on an actual F1 car. It can be turned off, or switched between a low and high setting.

Variants

Off

Traction control is turned off.

Low

Traction control operates at a low setting, and offers only minor assists.

High

Traction control operates at a high setting, and offers maximum help.

Trait Implementations

impl Clone for TractionControl[src]

impl Copy for TractionControl[src]

impl Debug for TractionControl[src]

impl Default for TractionControl[src]

impl Eq for TractionControl[src]

impl Hash for TractionControl[src]

impl Ord for TractionControl[src]

impl PartialEq<TractionControl> for TractionControl[src]

impl PartialOrd<TractionControl> for TractionControl[src]

impl StructuralEq for TractionControl[src]

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