Function nannou::io::load_from_toml [−][src]
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.