pub struct MotionTuning {
pub acceleration: f32,
pub braking: f32,
pub max_speed: f32,
pub response: f32,
pub traction: f32,
}Fields§
§acceleration: f32§braking: f32§max_speed: f32§response: f32Exponential input response, in inverse seconds.
traction: f32Lateral velocity decay, in inverse seconds.
Trait Implementations§
Source§impl Clone for MotionTuning
impl Clone for MotionTuning
Source§fn clone(&self) -> MotionTuning
fn clone(&self) -> MotionTuning
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 MotionTuning
impl Debug for MotionTuning
Source§impl PartialEq for MotionTuning
impl PartialEq for MotionTuning
impl Copy for MotionTuning
impl StructuralPartialEq for MotionTuning
Auto Trait Implementations§
impl Freeze for MotionTuning
impl RefUnwindSafe for MotionTuning
impl Send for MotionTuning
impl Sync for MotionTuning
impl Unpin for MotionTuning
impl UnwindSafe for MotionTuning
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