pub struct PartialComponent {
pub identifier: SubstanceIdentifier,
pub weight_fraction_pct: Option<f64>,
pub is_solvent: bool,
}Expand description
Partially-filled mixture component (accumulated during session).
Fields§
§identifier: SubstanceIdentifier§weight_fraction_pct: Option<f64>Weight fraction in w/w%.
is_solvent: boolTrait Implementations§
Source§impl Clone for PartialComponent
impl Clone for PartialComponent
Source§fn clone(&self) -> PartialComponent
fn clone(&self) -> PartialComponent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PartialComponent
impl Debug for PartialComponent
Source§impl Default for PartialComponent
impl Default for PartialComponent
Source§fn default() -> PartialComponent
fn default() -> PartialComponent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PartialComponent
impl<'de> Deserialize<'de> for PartialComponent
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
Auto Trait Implementations§
impl Freeze for PartialComponent
impl RefUnwindSafe for PartialComponent
impl Send for PartialComponent
impl Sync for PartialComponent
impl Unpin for PartialComponent
impl UnsafeUnpin for PartialComponent
impl UnwindSafe for PartialComponent
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