You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, the best you can achieve is (probably) to set your depth limit to 3 and to disable the separate_tuple_members option. Unfortunately, ron does not offer more precise control over the formatting.
While a magic wrapper type could be added that sets a custom depth limit for a subtree of the RON document, this would probably be too specific to RON (unless there is already such a type in a general crate that other formats support and for which RON could implement support).
At the moment, the best you can achieve is (probably) to set your depth limit to 3 and to disable the separate_tuple_members option. Unfortunately, ron does not offer more precise control over the formatting.
This works! Thanks!
While a magic wrapper type could be added that sets a custom depth limit for a subtree of the RON document, this would probably be too specific to RON (unless there is already such a type in a general crate that other formats support and for which RON could implement support).
This this is my
PrettyConfig
,and my
ron
generated config looks like this,I want for each field to be on newline (
indented
) like thestruct
fields appear withrust
syntax.if I change
depth
to4
, its somewhat what I want,but I don't want each
arg
to be on a newline.. I want something more like this,Also is it possible to add
comments
and newlines manually?The text was updated successfully, but these errors were encountered: