pub struct MultiLineOptions {
pub newline_at_start: bool,
pub newline_at_end: bool,
pub with_indent: bool,
pub with_hanging_indent: BoolOrCondition,
pub maintain_line_breaks: bool,
}
Fields§
§newline_at_start: bool
§newline_at_end: bool
§with_indent: bool
§with_hanging_indent: BoolOrCondition
§maintain_line_breaks: bool
Implementations§
source§impl MultiLineOptions
impl MultiLineOptions
pub fn new_line_start() -> Self
pub fn surround_newlines_indented() -> Self
pub fn same_line_start_hanging_indent() -> Self
pub fn same_line_no_indent() -> Self
pub fn maintain_line_breaks() -> Self
Auto Trait Implementations§
impl Freeze for MultiLineOptions
impl !RefUnwindSafe for MultiLineOptions
impl !Send for MultiLineOptions
impl !Sync for MultiLineOptions
impl Unpin for MultiLineOptions
impl !UnwindSafe for MultiLineOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more