pub trait GroupCount: Copy {
// Required methods
fn into_groups(
chemical_record: ChemicalRecord,
) -> (Identifier, Vec<(String, Self)>, Vec<([usize; 2], Self)>);
fn into_f64(self) -> f64;
}Expand description
The type that is used to account for the multiplicity of groups.
In practice f64 for group-based models and () for segment-based
models.
Required Methods§
fn into_groups( chemical_record: ChemicalRecord, ) -> (Identifier, Vec<(String, Self)>, Vec<([usize; 2], Self)>)
fn into_f64(self) -> f64
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".