mirror of
https://github.com/maciejpedzich/f1-game-packet-parser.git
synced 2025-04-20 03:21:12 +02:00
docs: add num_tyre_stint doc links to tyre-related vectors
This commit is contained in:
parent
0f28d8b763
commit
3f9640ec9c
@ -41,15 +41,18 @@ pub struct FinalClassificationData {
|
|||||||
)]
|
)]
|
||||||
pub num_tyre_stints: usize,
|
pub num_tyre_stints: usize,
|
||||||
/// Actual tyres used by the driver.
|
/// Actual tyres used by the driver.
|
||||||
/// Should have a size equal to `num_tyre_stints`.
|
/// Should have a size equal to
|
||||||
|
/// [`num_tyre_stints`](field@FinalClassificationData::num_tyre_stints).
|
||||||
#[br(count(num_tyre_stints), pad_after(MAX_NUM_TYRE_STINTS - num_tyre_stints))]
|
#[br(count(num_tyre_stints), pad_after(MAX_NUM_TYRE_STINTS - num_tyre_stints))]
|
||||||
pub tyre_stints_actual: Vec<ActualTyreCompound>,
|
pub tyre_stints_actual: Vec<ActualTyreCompound>,
|
||||||
/// Visual tyres used by the driver.
|
/// Visual tyres used by the driver.
|
||||||
/// Should have a size equal to `num_tyre_stints`.
|
/// Should have a size equal to
|
||||||
|
/// [`num_tyre_stints`](field@FinalClassificationData::num_tyre_stints).
|
||||||
#[br(count(num_tyre_stints), pad_after(MAX_NUM_TYRE_STINTS - num_tyre_stints))]
|
#[br(count(num_tyre_stints), pad_after(MAX_NUM_TYRE_STINTS - num_tyre_stints))]
|
||||||
pub tyre_stints_visual: Vec<VisualTyreCompound>,
|
pub tyre_stints_visual: Vec<VisualTyreCompound>,
|
||||||
/// The lap numbers the stints end on.
|
/// The lap numbers the stints end on.
|
||||||
/// Should have a size equal to `num_tyre_stints`.
|
/// Should have a size equal to
|
||||||
|
/// [`num_tyre_stints`](field@FinalClassificationData::num_tyre_stints).
|
||||||
#[br(count(num_tyre_stints), pad_after(MAX_NUM_TYRE_STINTS - num_tyre_stints))]
|
#[br(count(num_tyre_stints), pad_after(MAX_NUM_TYRE_STINTS - num_tyre_stints))]
|
||||||
pub tyre_stints_end_laps: Vec<u8>,
|
pub tyre_stints_end_laps: Vec<u8>,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user