pub struct RefpropSeries { /* private fields */ }Expand description
Computes the output property given input properties for the substance using REFPROP. Initial implementation only expects two input properties.
Implementations§
Source§impl RefpropSeries
impl RefpropSeries
Sourcepub fn builder() -> Builder<OutputPropertyStage>
pub fn builder() -> Builder<OutputPropertyStage>
Returns a new builder.
Source§impl RefpropSeries
impl RefpropSeries
Sourcepub fn new(
output_property: RefpropProperty,
substance: RefpropSubstance,
) -> Self
pub fn new( output_property: RefpropProperty, substance: RefpropSubstance, ) -> Self
Constructs a new instance of the type.
Sourcepub fn inputs(&self) -> &BTreeMap<RefpropProperty, NumericSeries>
pub fn inputs(&self) -> &BTreeMap<RefpropProperty, NumericSeries>
A map that maps a REFPROP property to its numeric series.
Sourcepub fn output_property(&self) -> &RefpropProperty
pub fn output_property(&self) -> &RefpropProperty
The desired output property. This should not be one of the input properties.
Sourcepub fn substance(&self) -> &RefpropSubstance
pub fn substance(&self) -> &RefpropSubstance
The substance for REFPROP calculations.
pub fn interpolation_configuration(&self) -> Option<&InterpolationConfiguration>
Trait Implementations§
Source§impl Clone for RefpropSeries
impl Clone for RefpropSeries
Source§fn clone(&self) -> RefpropSeries
fn clone(&self) -> RefpropSeries
Returns a duplicate 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 RefpropSeries
impl Debug for RefpropSeries
Source§impl<'de> Deserialize<'de> for RefpropSeries
impl<'de> Deserialize<'de> for RefpropSeries
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 From<RefpropSeries> for Builder<Complete>
impl From<RefpropSeries> for Builder<Complete>
Source§fn from(v: RefpropSeries) -> Self
fn from(v: RefpropSeries) -> Self
Converts to this type from the input type.
Source§impl Hash for RefpropSeries
impl Hash for RefpropSeries
Source§impl Ord for RefpropSeries
impl Ord for RefpropSeries
Source§impl PartialEq for RefpropSeries
impl PartialEq for RefpropSeries
Source§impl PartialOrd for RefpropSeries
impl PartialOrd for RefpropSeries
Source§impl Serialize for RefpropSeries
impl Serialize for RefpropSeries
impl Eq for RefpropSeries
Auto Trait Implementations§
impl Freeze for RefpropSeries
impl RefUnwindSafe for RefpropSeries
impl Send for RefpropSeries
impl Sync for RefpropSeries
impl Unpin for RefpropSeries
impl UnwindSafe for RefpropSeries
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request