pub enum SafetyCar {
None,
Full,
Virtual,
}
Expand description
Safety car rules that can be set for a session
The F1 games allow different rules to be configured for the safety car. Sessions can have no safety car at all, a virtual safety car, or a full safety car.
Variants§
Trait Implementations§
Source§impl Ord for SafetyCar
impl Ord for SafetyCar
Source§impl PartialOrd for SafetyCar
impl PartialOrd for SafetyCar
impl Copy for SafetyCar
impl Eq for SafetyCar
impl StructuralPartialEq for SafetyCar
Auto Trait Implementations§
impl Freeze for SafetyCar
impl RefUnwindSafe for SafetyCar
impl Send for SafetyCar
impl Sync for SafetyCar
impl Unpin for SafetyCar
impl UnwindSafe for SafetyCar
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