Function nannou::io::save_to_toml[][src]

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

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