[][src]Enum f1_api::packet::session::Weather

pub enum Weather {
    Clear,
    LightCloud,
    Overcast,
    LightRain,
    HeavyRain,
    Storm,
}

Weather conditions that can occur in a session

The modern F1 games support changing weather conditions, though not every weather condition is supported by every game.

Variants

Clear
LightCloud
Overcast
LightRain
HeavyRain
Storm

Trait Implementations

impl Clone for Weather[src]

impl Copy for Weather[src]

impl Debug for Weather[src]

impl Default for Weather[src]

impl Eq for Weather[src]

impl Hash for Weather[src]

impl Ord for Weather[src]

impl PartialEq<Weather> for Weather[src]

impl PartialOrd<Weather> for Weather[src]

impl StructuralEq for Weather[src]

impl StructuralPartialEq for Weather[src]

Auto Trait Implementations

impl RefUnwindSafe for Weather

impl Send for Weather

impl Sync for Weather

impl Unpin for Weather

impl UnwindSafe for Weather

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.