Struct fastsim_core::simdrivelabel::LabelFePHEV
source · pub struct LabelFePHEV {
pub regen_soc_buffer: f64,
pub udds: PHEVCycleCalc,
pub hwy: PHEVCycleCalc,
}Expand description
Label fuel economy values for a PHEV vehicle
Fields§
§regen_soc_buffer: f64§udds: PHEVCycleCalc§hwy: PHEVCycleCalcTrait Implementations§
source§impl ApproxEq<LabelFePHEV> for LabelFePHEV
impl ApproxEq<LabelFePHEV> for LabelFePHEV
source§impl Clone for LabelFePHEV
impl Clone for LabelFePHEV
source§fn clone(&self) -> LabelFePHEV
fn clone(&self) -> LabelFePHEV
Returns a copy 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 LabelFePHEV
impl Debug for LabelFePHEV
source§impl Default for LabelFePHEV
impl Default for LabelFePHEV
source§fn default() -> LabelFePHEV
fn default() -> LabelFePHEV
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LabelFePHEV
impl<'de> Deserialize<'de> for LabelFePHEV
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<LabelFePHEV> for LabelFePHEV
impl PartialEq<LabelFePHEV> for LabelFePHEV
source§fn eq(&self, other: &LabelFePHEV) -> bool
fn eq(&self, other: &LabelFePHEV) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl SerdeAPI for LabelFePHEV
impl SerdeAPI for LabelFePHEV
source§fn to_file(&self, filename: &str) -> Result<(), Error>
fn to_file(&self, filename: &str) -> Result<(), Error>
Save current data structure to file. Method adaptively calls serialization methods
dependent on the suffix of the file given as str. Read more
source§fn from_file(filename: &str) -> Result<Self, Error>where
for<'de> Self: Sized + Deserialize<'de>,
fn from_file(filename: &str) -> Result<Self, Error>where for<'de> Self: Sized + Deserialize<'de>,
Read from file and return instantiated struct. Method adaptively calls deserialization
methods dependent on the suffix of the file name given as str.
Function returns a dynamic Error Result if it fails. Read more
source§fn to_bincode(&self) -> Vec<u8>
fn to_bincode(&self) -> Vec<u8>
bincode serialization method.
source§impl Serialize for LabelFePHEV
impl Serialize for LabelFePHEV
impl StructuralPartialEq for LabelFePHEV
Auto Trait Implementations§
impl RefUnwindSafe for LabelFePHEV
impl Send for LabelFePHEV
impl Sync for LabelFePHEV
impl Unpin for LabelFePHEV
impl UnwindSafe for LabelFePHEV
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