ron::ser

Function to_string_pretty

Source
pub fn to_string_pretty<T>(value: &T, config: PrettyConfig) -> Result<String>
where T: ?Sized + Serialize,
Expand description

Serializes value in the recommended RON layout in a pretty way.