[][src]Struct dprint_core::formatting::parser_helpers::ParseSeparatedValuesOptions

pub struct ParseSeparatedValuesOptions {
    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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.