[−][src]Struct f1_api::packet::setup::CarSetupPacket
Packet containing the setups of all cars in the session
The F1 games publish the setup of each car in the session in the car setup packet. In multiplayer sessions, the setups of other players are redacted to prevent anyone from gaining an unfair advantage.
Methods
impl CarSetupPacket
[src]
impl CarSetupPacket
[src]
pub fn header(&self) -> &Header
[src]
Returns the packet header prefixing the car setup packet.
pub fn setups(&self) -> &Vec<CarSetup>
[src]
Returns the setups of all 20 cars in the session.
Trait Implementations
impl Clone for CarSetupPacket
[src]
fn clone(&self) -> CarSetupPacket
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CarSetupPacket
[src]
impl PartialEq<CarSetupPacket> for CarSetupPacket
[src]
fn eq(&self, other: &CarSetupPacket) -> bool
[src]
fn ne(&self, other: &CarSetupPacket) -> bool
[src]
impl PartialOrd<CarSetupPacket> for CarSetupPacket
[src]
fn partial_cmp(&self, other: &CarSetupPacket) -> Option<Ordering>
[src]
fn lt(&self, other: &CarSetupPacket) -> bool
[src]
fn le(&self, other: &CarSetupPacket) -> bool
[src]
fn gt(&self, other: &CarSetupPacket) -> bool
[src]
fn ge(&self, other: &CarSetupPacket) -> bool
[src]
impl StructuralPartialEq for CarSetupPacket
[src]
Auto Trait Implementations
impl RefUnwindSafe for CarSetupPacket
impl Send for CarSetupPacket
impl Sync for CarSetupPacket
impl Unpin for CarSetupPacket
impl UnwindSafe for CarSetupPacket
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,