pub enum Weather {
Clear,
LightCloud,
Overcast,
LightRain,
HeavyRain,
Storm,
}
Expand description
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§
Trait Implementations§
Source§impl Ord for Weather
impl Ord for Weather
Source§impl PartialOrd for Weather
impl PartialOrd for Weather
impl Copy for Weather
impl Eq for Weather
impl StructuralPartialEq for Weather
Auto Trait Implementations§
impl Freeze for Weather
impl RefUnwindSafe for Weather
impl Send for Weather
impl Sync for Weather
impl Unpin for Weather
impl UnwindSafe for Weather
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more