pub struct WhitespaceOptions {
pub remove_trailing: bool,
pub file_extensions: Vec<String>,
pub recursive: bool,
pub dry_run: bool,
}Expand description
Options for whitespace cleaning
Fields§
§remove_trailing: boolRemove trailing whitespace from lines
file_extensions: Vec<String>File extensions to process
recursive: boolProcess directories recursively
dry_run: boolDry run mode (don’t modify files)
Trait Implementations§
Source§impl Clone for WhitespaceOptions
impl Clone for WhitespaceOptions
Source§fn clone(&self) -> WhitespaceOptions
fn clone(&self) -> WhitespaceOptions
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 WhitespaceOptions
impl Debug for WhitespaceOptions
Auto Trait Implementations§
impl Freeze for WhitespaceOptions
impl RefUnwindSafe for WhitespaceOptions
impl Send for WhitespaceOptions
impl Sync for WhitespaceOptions
impl Unpin for WhitespaceOptions
impl UnsafeUnpin for WhitespaceOptions
impl UnwindSafe for WhitespaceOptions
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