pub trait ChemicalModel: Send {
// Required method
fn compute(&mut self, mol: &Molecule) -> Result<Computed>;
// Provided method
fn compute_bunch(&mut self, _mols: &[Molecule]) -> Result<Vec<Computed>> { ... }
}Expand description
Trait for chemical calculations