pub struct EndingsOptions {
pub style: LineEnding,
pub file_extensions: Vec<String>,
pub recursive: bool,
pub dry_run: bool,
}Expand description
Options for line ending normalization
Fields§
§style: LineEndingTarget line ending style
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 EndingsOptions
impl Clone for EndingsOptions
Source§fn clone(&self) -> EndingsOptions
fn clone(&self) -> EndingsOptions
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 EndingsOptions
impl Debug for EndingsOptions
Auto Trait Implementations§
impl Freeze for EndingsOptions
impl RefUnwindSafe for EndingsOptions
impl Send for EndingsOptions
impl Sync for EndingsOptions
impl Unpin for EndingsOptions
impl UnsafeUnpin for EndingsOptions
impl UnwindSafe for EndingsOptions
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