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: boolForces 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
impl !RefUnwindSafe for GenSeparatedValuesOptions
impl !Send for GenSeparatedValuesOptions
impl !Sync for GenSeparatedValuesOptions
impl Unpin for GenSeparatedValuesOptions
impl !UnwindSafe for GenSeparatedValuesOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more