Function nannou::io::save_to_toml

source ·
pub fn save_to_toml<P, T>(path: P, t: &T) -> Result<(), TomlFileSaveError>
where P: AsRef<Path>, T: Serialize,
Expand description

A generic function for safely saving a serializable type to a TOML file.