#[non_exhaustive]pub enum TrackId {
Show 34 variants
Unknown = -1,
AlbertPark = 0,
PaulRicard = 1,
Shanghai = 2,
Sakhir = 3,
Catalunya = 4,
MonteCarlo = 5,
Montreal = 6,
Silverstone = 7,
Hockenheim = 8,
Hungaroring = 9,
Spa = 10,
Monza = 11,
MarinaBay = 12,
Suzuka = 13,
YasMarina = 14,
Cota = 15,
Interlagos = 16,
RedBullRing = 17,
Sochi = 18,
MexicoCity = 19,
Baku = 20,
SakhirShort = 21,
SilverstoneShort = 22,
CotaShort = 23,
SuzukaShort = 24,
Hanoi = 25,
Zandvoort = 26,
Imola = 27,
Portimao = 28,
Jeddah = 29,
Miami = 30,
LasVegas = 31,
Losail = 32,
}Expand description
Unique circuit ID. Represents an i8.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Unknown = -1
Unknown circuit.
AlbertPark = 0
Australian Grand Prix.
PaulRicard = 1
French Grand Prix.
Shanghai = 2
Chinese Grand Prix.
Sakhir = 3
Bahrain Grand Prix.
Catalunya = 4
Spanish Grand Prix.
MonteCarlo = 5
Monaco Grand Prix.
Montreal = 6
Canadian Grand Prix.
Silverstone = 7
British Grand Prix.
Hockenheim = 8
German Grand Prix.
Hungaroring = 9
Hungarian Grand Prix.
Spa = 10
Belgian Grand Prix.
Monza = 11
Italian Grand Prix.
MarinaBay = 12
Singapore Grand Prix.
Suzuka = 13
Japanese Grand Prix.
YasMarina = 14
Abu Dhabi Grand Prix.
Cota = 15
Circuit of the Americas. United States (Texas) Grand Prix.
Interlagos = 16
Brazilian (Sao Paulo) Grand Prix.
RedBullRing = 17
Austrian Grand Prix.
Sochi = 18
Russian Grand Prix.
MexicoCity = 19
Mexican Grand Prix.
Baku = 20
Azerbaijan Grand Prix.
SakhirShort = 21
Short variant of the Sakhir circuit.
SilverstoneShort = 22
Short variant of the Silverstone circuit.
CotaShort = 23
Short variant of the Cota circuit.
SuzukaShort = 24
Short variant of the Suzuka circuit.
Hanoi = 25
Vietnamese Grand Prix.
Zandvoort = 26
Dutch Grand Prix.
Imola = 27
San Marino Emilia-Romagna Grand Prix.
Portimao = 28
Portuguese Grand Prix.
Jeddah = 29
Saudi Arabian Grand Prix.
Miami = 30
Miami Grand Prix.
LasVegas = 31
Las Vegas Grand Prix.
Losail = 32
Qatar Grand Prix.
Trait Implementations§
Source§impl BinRead for TrackId
impl BinRead for TrackId
Source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<Self>
Source§fn read<R>(reader: &mut R) -> Result<Self, Error>
fn read<R>(reader: &mut R) -> Result<Self, Error>
Self from the reader using default arguments. Read moreSource§fn read_be<R>(reader: &mut R) -> Result<Self, Error>
fn read_be<R>(reader: &mut R) -> Result<Self, Error>
Self from the reader using default arguments and assuming
big-endian byte order. Read moreSource§fn read_le<R>(reader: &mut R) -> Result<Self, Error>
fn read_le<R>(reader: &mut R) -> Result<Self, Error>
Self from the reader using default arguments and assuming
little-endian byte order. Read moreSource§fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
T from the reader assuming native-endian byte order. Read moreSource§fn read_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Self from the reader using the given arguments. Read moreSource§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Self from the reader, assuming big-endian byte order, using the
given arguments. Read more