Struct acbc::RealtimeUpdate[][src]

pub struct RealtimeUpdate<'a> {
Show fields pub event_index: u16, pub session_index: u16, pub session_type: SessionType, pub session_phase: SessionPhase, pub session_time: f32, pub session_end_time: f32, pub focused_car_index: u32, pub active_camera_set: &'a str, pub active_camera: &'a str, pub current_hud_page: &'a str, pub replay_info: Option<ReplayInfo>, pub time_of_day: f32, pub ambient_temp: i8, pub track_temp: i8, pub clouds: u8, pub rain_level: u8, pub wetness: u8, pub best_session_lap: Lap,
}

Fields

event_index: u16

The event index, starts at 0 when connecting, and increments with each new race weekend.

session_index: u16

The session index, will start at 0 when connecting, even if a previous session has already taken place in this event.

session_type: SessionTypesession_phase: SessionPhasesession_time: f32

Session time in milliseconds since the green flag

session_end_time: f32

Time in milliseconds remaining before the end of the session

focused_car_index: u32active_camera_set: &'a stractive_camera: &'a strcurrent_hud_page: &'a strreplay_info: Option<ReplayInfo>time_of_day: f32ambient_temp: i8track_temp: i8clouds: u8rain_level: u8wetness: u8best_session_lap: Lap

Trait Implementations

impl<'a> Debug for RealtimeUpdate<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for RealtimeUpdate<'a>

impl<'a> Send for RealtimeUpdate<'a>

impl<'a> Sync for RealtimeUpdate<'a>

impl<'a> Unpin for RealtimeUpdate<'a>

impl<'a> UnwindSafe for RealtimeUpdate<'a>

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> Conv for T

impl<T> Conv for T

impl<T> FmtForward for T

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

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

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> TryConv for T

impl<T> TryConv for T

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.