pub enum DrsSetting {
Unknown,
NotAllowed,
Allowed,
}
Expand description
Setting of the Drag Reduction System
The Drag Reduction System, or DRS, can be disabled and enabled during a race. When it is disabled, drivers cannot activate it.
Variants§
Unknown
The DRS setting is unknown, for example because the current formula does not support it.
NotAllowed
DRS is disabled, and cannot be used by drivers.
Allowed
DRS is enabled, and can be used by drivers.
Trait Implementations§
Source§impl Clone for DrsSetting
impl Clone for DrsSetting
Source§fn clone(&self) -> DrsSetting
fn clone(&self) -> DrsSetting
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 DrsSetting
impl Debug for DrsSetting
Source§impl Default for DrsSetting
impl Default for DrsSetting
Source§impl Hash for DrsSetting
impl Hash for DrsSetting
Source§impl Ord for DrsSetting
impl Ord for DrsSetting
Source§fn cmp(&self, other: &DrsSetting) -> Ordering
fn cmp(&self, other: &DrsSetting) -> 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 DrsSetting
impl PartialEq for DrsSetting
Source§impl PartialOrd for DrsSetting
impl PartialOrd for DrsSetting
impl Copy for DrsSetting
impl Eq for DrsSetting
impl StructuralPartialEq for DrsSetting
Auto Trait Implementations§
impl Freeze for DrsSetting
impl RefUnwindSafe for DrsSetting
impl Send for DrsSetting
impl Sync for DrsSetting
impl Unpin for DrsSetting
impl UnwindSafe for DrsSetting
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