[]Trait lumol::input::FromTomlWithData

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

Convert a TOML table and some additional owned data to a Rust type.

Associated Types

The type of the additional data needed.

Required Methods

Do the conversion from table and data to Self.

Implementors

impl FromTomlWithData for TableComputation

impl FromTomlWithData for MonteCarlo

impl FromTomlWithData for Resize

impl FromTomlWithData for Rotate

impl FromTomlWithData for Translate

impl FromTomlWithData for AnisoBerendsenBarostat

impl FromTomlWithData for BerendsenBarostat

impl FromTomlWithData for LeapFrog

impl FromTomlWithData for VelocityVerlet

impl FromTomlWithData for Verlet