pub enum Session {
Show 13 variants
OneShotQualifying,
P1,
P2,
P3,
Q1,
Q2,
Q3,
Race,
Race2,
ShortPractice,
ShortQualifying,
TimeTrial,
Unknown,
}
Expand description
Types of sessions
F1 knows many different types of sessions. A typical race weekend consists of free practice, qualifying and a race, each of which can be divided into multiple sessions (e.g. first or second free practice).
Variants§
Trait Implementations§
Source§impl Ord for Session
impl Ord for Session
Source§impl PartialOrd for Session
impl PartialOrd for Session
impl Copy for Session
impl Eq for Session
impl StructuralPartialEq for Session
Auto Trait Implementations§
impl Freeze for Session
impl RefUnwindSafe for Session
impl Send for Session
impl Sync for Session
impl Unpin for Session
impl UnwindSafe for Session
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