pub struct ReplaceOptions {
pub patterns: Vec<ReplacePattern>,
pub file_extensions: Vec<String>,
pub recursive: bool,
pub dry_run: bool,
}Expand description
Options for content replacement
Fields§
§patterns: Vec<ReplacePattern>Ordered list of patterns to apply
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 ReplaceOptions
impl Clone for ReplaceOptions
Source§fn clone(&self) -> ReplaceOptions
fn clone(&self) -> ReplaceOptions
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 ReplaceOptions
impl Debug for ReplaceOptions
Auto Trait Implementations§
impl Freeze for ReplaceOptions
impl RefUnwindSafe for ReplaceOptions
impl Send for ReplaceOptions
impl Sync for ReplaceOptions
impl Unpin for ReplaceOptions
impl UnsafeUnpin for ReplaceOptions
impl UnwindSafe for ReplaceOptions
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