[][src]Struct iracing::session::DriverInfo

pub struct DriverInfo {
    pub car_index: usize,
    pub head_position_x: f32,
    pub head_position_y: f32,
    pub head_position_z: f32,
    pub idle_rpm: f32,
    pub red_line_rpm: f32,
    pub fuel_density: f32,
    pub fuel_capacity: f32,
    pub fuel_max_fill_percent: f32,
    pub shift_light_first_rpm: f32,
    pub shift_light_shift_rpm: f32,
    pub shift_light_last_rpm: f32,
    pub shift_light_blink_rpm: f32,
    pub pit_track_percent: f32,
    pub estimated_lap_time: f32,
    pub setup_name: String,
    pub setup_is_modified: u8,
    pub setup_passed_tech: u8,
    pub other_drivers: Vec<Driver>,
}

Details of Player driver, and other drivers.Deserialize

Struct contains player driver information, as well as a vector of other drivers in the session

Fields

car_index: usizehead_position_x: f32head_position_y: f32head_position_z: f32idle_rpm: f32red_line_rpm: f32fuel_density: f32fuel_capacity: f32fuel_max_fill_percent: f32shift_light_first_rpm: f32shift_light_shift_rpm: f32shift_light_last_rpm: f32shift_light_blink_rpm: f32pit_track_percent: f32estimated_lap_time: f32setup_name: Stringsetup_is_modified: u8setup_passed_tech: u8other_drivers: Vec<Driver>

Trait Implementations

impl Clone for DriverInfo[src]

impl Debug for DriverInfo[src]

impl<'de> Deserialize<'de> for DriverInfo[src]

impl Serialize for DriverInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.