pub struct ValidationConfig {
pub max_line_length: Option<usize>,
pub enforce_consistent_line_endings: bool,
}Expand description
Configuration for whitespace and formatting validation
Fields§
§max_line_length: Option<usize>Maximum line length (None = no limit)
enforce_consistent_line_endings: boolWhether to enforce consistent line endings
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ValidationConfig
impl RefUnwindSafe for ValidationConfig
impl Send for ValidationConfig
impl Sync for ValidationConfig
impl Unpin for ValidationConfig
impl UnsafeUnpin for ValidationConfig
impl UnwindSafe for ValidationConfig
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