pub enum TractionControl {
Off,
Low,
High,
}
Expand description
Traction control settings
Traction control is a driver assist that does only exist in-game, and not on an actual F1 car. It can be turned off, or switched between a low and high setting.
Variants§
Off
Traction control is turned off.
Low
Traction control operates at a low setting, and offers only minor assists.
High
Traction control operates at a high setting, and offers maximum help.
Trait Implementations§
Source§impl Clone for TractionControl
impl Clone for TractionControl
Source§fn clone(&self) -> TractionControl
fn clone(&self) -> TractionControl
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 TractionControl
impl Debug for TractionControl
Source§impl Default for TractionControl
impl Default for TractionControl
Source§impl Hash for TractionControl
impl Hash for TractionControl
Source§impl Ord for TractionControl
impl Ord for TractionControl
Source§fn cmp(&self, other: &TractionControl) -> Ordering
fn cmp(&self, other: &TractionControl) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TractionControl
impl PartialEq for TractionControl
Source§impl PartialOrd for TractionControl
impl PartialOrd for TractionControl
impl Copy for TractionControl
impl Eq for TractionControl
impl StructuralPartialEq for TractionControl
Auto Trait Implementations§
impl Freeze for TractionControl
impl RefUnwindSafe for TractionControl
impl Send for TractionControl
impl Sync for TractionControl
impl Unpin for TractionControl
impl UnwindSafe for TractionControl
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