pub fn to_item<T: ?Sized>(value: &T) -> Result<Item, Error>where
    T: Serialize,
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.