[−]Trait lumol::input::FromTomlWithRefData
Convert a TOML table to a Rust type using information from an additional reference.
Associated Types
type Data
The type of the additional data needed.
Required methods
fn from_toml(
table: &Map<String, Value>,
data: &Self::Data
) -> Result<Self, Error>
table: &Map<String, Value>,
data: &Self::Data
) -> Result<Self, Error>
Do the conversion from table
and data
to Self.
Implementors
impl FromTomlWithRefData for Ewald
type Data = Configuration
pub fn from_toml(
table: &Map<String, Value>,
configuration: &Configuration
) -> Result<Ewald, Error>
table: &Map<String, Value>,
configuration: &Configuration
) -> Result<Ewald, Error>