pub struct PhevVehicleInfo {
pub max_soc: Ratio,
pub min_soc: Ratio,
pub phev_max_regen: Ratio,
pub veh_mass: Mass,
pub em_peak_eff: Ratio,
pub energy_capacity: Energy,
pub chg_eff: f64,
pub fuel_storage_capacity: Energy,
}Fields§
§max_soc: Ratio§min_soc: Ratio§phev_max_regen: Ratio§veh_mass: Mass§em_peak_eff: Ratio§energy_capacity: Energy§chg_eff: f64§fuel_storage_capacity: EnergyAuto Trait Implementations§
impl Freeze for PhevVehicleInfo
impl RefUnwindSafe for PhevVehicleInfo
impl Send for PhevVehicleInfo
impl Sync for PhevVehicleInfo
impl Unpin for PhevVehicleInfo
impl UnwindSafe for PhevVehicleInfo
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