pub struct ProjectOptions {
pub indent: String,
pub blank_lines_between_decls: usize,
pub max_line_width: usize,
}Expand description
Options controlling how the projector formats source text.
Fields§
§indent: StringIndentation string (default: two spaces).
blank_lines_between_decls: usizeBlank lines between top-level declarations (default: 1).
max_line_width: usizeMaximum line width before wrapping (default: 80).
Trait Implementations§
Source§impl Clone for ProjectOptions
impl Clone for ProjectOptions
Source§impl Debug for ProjectOptions
impl Debug for ProjectOptions
Auto Trait Implementations§
impl Freeze for ProjectOptions
impl RefUnwindSafe for ProjectOptions
impl Send for ProjectOptions
impl Sync for ProjectOptions
impl Unpin for ProjectOptions
impl UnsafeUnpin for ProjectOptions
impl UnwindSafe for ProjectOptions
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