[]Trait lumol::input::FromToml

pub trait FromToml {
    fn from_toml(table: &BTreeMap<String, Value>) -> Result<Self, Error>;
}

Convert a TOML table to a Rust type.

Required methods

fn from_toml(table: &BTreeMap<String, Value>) -> Result<Self, Error>

Do the conversion from table to Self.

Loading content...

Implementors

impl FromToml for BornMayerHuggins

impl FromToml for Buckingham

impl FromToml for CosineHarmonic

impl FromToml for Gaussian

impl FromToml for Harmonic

impl FromToml for LennardJones

impl FromToml for Mie

impl FromToml for Morse

impl FromToml for NullPotential

impl FromToml for Torsion

impl FromToml for Wolf

impl FromToml for BerendsenThermostat

impl FromToml for MolecularDynamics

impl FromToml for RescaleThermostat

impl FromToml for Minimization

impl FromToml for SteepestDescent

impl FromToml for Tolerance

impl FromToml for CellOutput

impl FromToml for CustomOutput

impl FromToml for EnergyOutput

impl FromToml for ForcesOutput

impl FromToml for PropertiesOutput

impl FromToml for StressOutput

impl FromToml for TrajectoryOutput

Loading content...