pub struct StepInfo {Show 13 fields
pub dt: Time,
pub speed_prev: Velocity,
pub cyc_speed: Velocity,
pub grade_curr: Ratio,
pub air_density: MassDensity,
pub mass: Mass,
pub drag_coef: Ratio,
pub frontal_area: Area,
pub wheel_inertia: MomentOfInertia,
pub num_wheels: u8,
pub wheel_radius: Length,
pub wheel_rr_coef: Ratio,
pub pwr_prop_fwd_max: Power,
}Fields§
§dt: Time§speed_prev: Velocity§cyc_speed: Velocity§grade_curr: Ratio§air_density: MassDensity§mass: Mass§drag_coef: Ratio§frontal_area: Area§wheel_inertia: MomentOfInertia§num_wheels: u8§wheel_radius: Length§wheel_rr_coef: Ratio§pwr_prop_fwd_max: PowerImplementations§
Auto Trait Implementations§
impl Freeze for StepInfo
impl RefUnwindSafe for StepInfo
impl Send for StepInfo
impl Sync for StepInfo
impl Unpin for StepInfo
impl UnwindSafe for StepInfo
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more