[−][src]Function nannou::io::load_from_toml
pub fn load_from_toml<'a, P, T>(path: P) -> Result<T, TomlFileLoadError> where
P: AsRef<Path>,
T: for<'de> Deserialize<'de>,
A generic funtion for loading a type from a TOML file.
pub fn load_from_toml<'a, P, T>(path: P) -> Result<T, TomlFileLoadError> where
P: AsRef<Path>,
T: for<'de> Deserialize<'de>,
A generic funtion for loading a type from a TOML file.