Function toml_edit::ser::to_document
source · pub fn to_document<T>(value: &T) -> Result<Document, Error>where
T: Serialize + ?Sized,
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.