Function toml_edit::ser::to_document
source · pub fn to_document<T>(value: &T) -> Result<Document, Error>
Expand description
Serialize the given data structure into a TOML document.
This would allow custom formatting to be applied, mixing with format preserving edits, etc.