pub struct GenSeparatedValuesOptions {
    pub prefer_hanging: bool,
    pub force_use_new_lines: bool,
    pub allow_blank_lines: bool,
    pub single_line_space_at_start: bool,
    pub single_line_space_at_end: bool,
    pub single_line_separator: PrintItems,
    pub indent_width: u8,
    pub multi_line_options: MultiLineOptions,
    pub force_possible_newline_at_start: bool,
}

Fields

prefer_hanging: boolforce_use_new_lines: boolallow_blank_lines: boolsingle_line_space_at_start: boolsingle_line_space_at_end: boolsingle_line_separator: PrintItemsindent_width: u8multi_line_options: MultiLineOptionsforce_possible_newline_at_start: bool

Forces a possible newline at the start when there are values. If this isn’t used, then a possible newline won’t happen when the value is below the line

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.