pub struct FormatConfig {
pub format: Format,
pub max_width: usize,
pub use_neural: bool,
pub extra_abbreviations: Vec<String>,
}Expand description
Configuration for the formatting pipeline.
Fields§
§format: Format§max_width: usize§use_neural: bool§extra_abbreviations: Vec<String>Extra abbreviations from project config.
Auto Trait Implementations§
impl Freeze for FormatConfig
impl RefUnwindSafe for FormatConfig
impl Send for FormatConfig
impl Sync for FormatConfig
impl Unpin for FormatConfig
impl UnsafeUnpin for FormatConfig
impl UnwindSafe for FormatConfig
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