pub trait FromSegmentsBinary: Clone {
// Required method
fn from_segments_binary(segments: &[(Self, f64, f64)]) -> FeosResult<Self>;
}Expand description
Trait for models that implement a homosegmented group contribution method and have a combining rule for binary interaction parameters.
Required Methods§
Sourcefn from_segments_binary(segments: &[(Self, f64, f64)]) -> FeosResult<Self>
fn from_segments_binary(segments: &[(Self, f64, f64)]) -> FeosResult<Self>
Constructs the binary record from a list of segment records with their number of occurences.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".