pub struct DriverSettings {
pub cruise: f32,
pub minimum: f32,
pub lookahead: f32,
pub lookahead_seconds: f32,
pub corner_braking: f32,
pub lateral_acceleration: f32,
pub steer_gain: f32,
pub speed_response: f32,
pub half_width: f32,
}Fields§
§cruise: f32§minimum: f32§lookahead: f32§lookahead_seconds: f32§corner_braking: f32§lateral_acceleration: f32§steer_gain: f32§speed_response: f32§half_width: f32Trait Implementations§
Source§impl Clone for DriverSettings
impl Clone for DriverSettings
Source§fn clone(&self) -> DriverSettings
fn clone(&self) -> DriverSettings
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 DriverSettings
impl Debug for DriverSettings
Source§impl Default for DriverSettings
impl Default for DriverSettings
Source§fn default() -> DriverSettings
fn default() -> DriverSettings
Returns the “default value” for a type. Read more
impl Copy for DriverSettings
Auto Trait Implementations§
impl Freeze for DriverSettings
impl RefUnwindSafe for DriverSettings
impl Send for DriverSettings
impl Sync for DriverSettings
impl Unpin for DriverSettings
impl UnwindSafe for DriverSettings
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