Function toml_edit::ser::to_item

source ·
pub fn to_item<T>(value: &T) -> Result<Item, Error>where
    T: Serialize + ?Sized,
Expand description

Serialize the given data structure into a TOML data structure

This would allow custom formatting to be applied, mixing with format preserving edits, etc.