Function tomlconv::to_toml_file
[−]
[src]
pub fn to_toml_file<T: ?Sized, P>(value: &T, path: P) -> Result<()> where
T: Serialize,
P: AsRef<Path>,
Converts the value to a TOML string and writes it to the speficied file.