pub struct TelemetryPacket { /* private fields */ }
Expand description
Packet containing the telemetry of all cars in the session
The F1 games publish telemetry data for each car in the session. The telemetry data includes parameters such as the car’s speed, as well as information in controller inputs from the user.
Implementations§
Source§impl TelemetryPacket
impl TelemetryPacket
Returns a bit flag indicating which buttons are currently pressed.
Trait Implementations§
Source§impl Clone for TelemetryPacket
impl Clone for TelemetryPacket
Source§fn clone(&self) -> TelemetryPacket
fn clone(&self) -> TelemetryPacket
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TelemetryPacket
impl Debug for TelemetryPacket
Source§impl PartialEq for TelemetryPacket
impl PartialEq for TelemetryPacket
Source§impl PartialOrd for TelemetryPacket
impl PartialOrd for TelemetryPacket
impl StructuralPartialEq for TelemetryPacket
Auto Trait Implementations§
impl Freeze for TelemetryPacket
impl RefUnwindSafe for TelemetryPacket
impl Send for TelemetryPacket
impl Sync for TelemetryPacket
impl Unpin for TelemetryPacket
impl UnwindSafe for TelemetryPacket
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