pub enum TuningField {
Acceleration,
Braking,
MaxSpeed,
Response,
Traction,
Difficulty,
Steering,
Aim,
JumpBufferSeconds,
}Expand description
A tunable scalar, in the order reported by TuningDiff::changes.
Rules identity is not tunable: a diff rejects mismatched rulesets.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TuningField
impl Clone for TuningField
Source§fn clone(&self) -> TuningField
fn clone(&self) -> TuningField
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 TuningField
impl Debug for TuningField
Source§impl Hash for TuningField
impl Hash for TuningField
Source§impl PartialEq for TuningField
impl PartialEq for TuningField
impl Copy for TuningField
impl Eq for TuningField
impl StructuralPartialEq for TuningField
Auto Trait Implementations§
impl Freeze for TuningField
impl RefUnwindSafe for TuningField
impl Send for TuningField
impl Sync for TuningField
impl Unpin for TuningField
impl UnwindSafe for TuningField
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