Struct dprint_core::formatting::ir_helpers::SingleLineOptions
source · pub struct SingleLineOptions {
pub space_at_start: bool,
pub space_at_end: bool,
pub separator: PrintItems,
}
Fields§
§space_at_start: bool
§space_at_end: bool
§separator: PrintItems
Implementations§
source§impl SingleLineOptions
impl SingleLineOptions
pub fn separated_same_line(separator: PrintItems) -> Self
pub fn same_line_maybe_space_separated() -> Self
pub fn separated_line_starting_with_space() -> Self
pub fn surrounded_line() -> Self
Auto Trait Implementations§
impl Freeze for SingleLineOptions
impl !RefUnwindSafe for SingleLineOptions
impl !Send for SingleLineOptions
impl !Sync for SingleLineOptions
impl Unpin for SingleLineOptions
impl !UnwindSafe for SingleLineOptions
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