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

Limit the pretty-ness up to the given depth.

New line string

Indentation string

Separate tuple members with indentation

Enumerate array items in comments

Trait Implementations

impl Clone for PrettyConfig
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for PrettyConfig
[src]

[src]

Formats the value using the given formatter.

impl Default for PrettyConfig
[src]

[src]

Returns the "default value" for a type. Read more