pub enum PitStatus {
None,
Pitting,
InPits,
}
Expand description
Statuses used to signal the progression of a pit stop
Variants§
None
No pit stop is being performed, and the car is most likely on track or in the garage.
Pitting
The car is pitting, which means it is on the pit lane but not stationary in the pit box.
InPits
The car is stationary in the pit box, and the pit stop is being performed.
Trait Implementations§
Source§impl Ord for PitStatus
impl Ord for PitStatus
Source§impl PartialOrd for PitStatus
impl PartialOrd for PitStatus
impl Copy for PitStatus
impl Eq for PitStatus
impl StructuralPartialEq for PitStatus
Auto Trait Implementations§
impl Freeze for PitStatus
impl RefUnwindSafe for PitStatus
impl Send for PitStatus
impl Sync for PitStatus
impl Unpin for PitStatus
impl UnwindSafe for PitStatus
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