pub enum SimulationDataForLabel {
ConvOrHev {
veh_year: u32,
udds_mpgge: f64,
hwy_mpgge: f64,
},
Bev {
veh_year: u32,
udds_kwh_per_mi: f64,
hwy_kwh_per_mi: f64,
bev_energy_capacity_kwh: f64,
},
Phev {
veh_year: u32,
info: PhevVehicleInfo,
udds: PhevSimulationDataForLabel,
hwy: PhevSimulationDataForLabel,
},
}Variants§
Auto Trait Implementations§
impl Freeze for SimulationDataForLabel
impl RefUnwindSafe for SimulationDataForLabel
impl Send for SimulationDataForLabel
impl Sync for SimulationDataForLabel
impl Unpin for SimulationDataForLabel
impl UnsafeUnpin for SimulationDataForLabel
impl UnwindSafe for SimulationDataForLabel
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
impl<T> ErasedDestructor for Twhere
T: 'static,
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