Struct ron::ser::PrettyConfig [−][src]
pub struct PrettyConfig { pub depth_limit: usize, pub new_line: String, pub indentor: String, pub separate_tuple_members: bool, pub enumerate_arrays: bool, }
Pretty serializer configuration
Fields
depth_limit: usize
Limit the pretty-ness up to the given depth.
new_line: String
New line string
indentor: String
Indentation string
separate_tuple_members: bool
Separate tuple members with indentation
enumerate_arrays: bool
Enumerate array items in comments
Trait Implementations
impl Clone for PrettyConfig
[src]
impl Clone for PrettyConfig
fn clone(&self) -> PrettyConfig
[src]
fn clone(&self) -> PrettyConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for PrettyConfig
[src]
impl Debug for PrettyConfig
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for PrettyConfig
[src]
impl Default for PrettyConfig
Auto Trait Implementations
impl Send for PrettyConfig
impl Send for PrettyConfig
impl Sync for PrettyConfig
impl Sync for PrettyConfig