pub fn save(
doc: &ModDefDocument,
path: impl AsRef<Path>,
) -> Result<(), ParseError>Expand description
Serialize and write a document; the format comes from the extension.
pub fn save(
doc: &ModDefDocument,
path: impl AsRef<Path>,
) -> Result<(), ParseError>Serialize and write a document; the format comes from the extension.