pub struct MarshalZone { /* private fields */ }
Expand description
A marshal zone around the track and its current flags.
A race track is divided into many marshal zones. In each zone, flags can be waved to inform drivers about hazards on track, faster cars approaching from behind, and other important status updates. Each zone is represented by a struct containing the fraction of the race track’s length where the zone starts, and any flag that is currently being shown there.
Implementations§
Source§impl MarshalZone
impl MarshalZone
Trait Implementations§
Source§impl Clone for MarshalZone
impl Clone for MarshalZone
Source§fn clone(&self) -> MarshalZone
fn clone(&self) -> MarshalZone
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 MarshalZone
impl Debug for MarshalZone
Source§impl Default for MarshalZone
impl Default for MarshalZone
Source§fn default() -> MarshalZone
fn default() -> MarshalZone
Returns the “default value” for a type. Read more
Source§impl PartialEq for MarshalZone
impl PartialEq for MarshalZone
Source§impl PartialOrd for MarshalZone
impl PartialOrd for MarshalZone
impl Copy for MarshalZone
impl StructuralPartialEq for MarshalZone
Auto Trait Implementations§
impl Freeze for MarshalZone
impl RefUnwindSafe for MarshalZone
impl Send for MarshalZone
impl Sync for MarshalZone
impl Unpin for MarshalZone
impl UnwindSafe for MarshalZone
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