pub struct NormalizerConfig {
pub target_ending: LineEnding,
pub trim_trailing: bool,
pub max_blank_lines: usize,
pub ensure_final_newline: bool,
}Expand description
Configuration for whitespace normalization.
Fields§
§target_ending: LineEnding§trim_trailing: bool§max_blank_lines: usize§ensure_final_newline: boolTrait Implementations§
Source§impl Clone for NormalizerConfig
impl Clone for NormalizerConfig
Source§fn clone(&self) -> NormalizerConfig
fn clone(&self) -> NormalizerConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NormalizerConfig
impl Debug for NormalizerConfig
Auto Trait Implementations§
impl Freeze for NormalizerConfig
impl RefUnwindSafe for NormalizerConfig
impl Send for NormalizerConfig
impl Sync for NormalizerConfig
impl Unpin for NormalizerConfig
impl UnsafeUnpin for NormalizerConfig
impl UnwindSafe for NormalizerConfig
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