Function ron::ser::to_string_pretty
source · pub fn to_string_pretty<T>(value: &T, config: PrettyConfig) -> Result<String>
Expand description
Serializes value
in the recommended RON layout in a pretty way.
pub fn to_string_pretty<T>(value: &T, config: PrettyConfig) -> Result<String>
Serializes value
in the recommended RON layout in a pretty way.