Function nannou::io::load_from_toml
source · pub fn load_from_toml<'a, P, T>(path: P) -> Result<T, TomlFileLoadError>
Expand description
A generic funtion for loading a type from a TOML file.
pub fn load_from_toml<'a, P, T>(path: P) -> Result<T, TomlFileLoadError>
A generic funtion for loading a type from a TOML file.