pub struct FileWithReplacedOpts {
pub all: Option<bool>,
pub first_from: Option<isize>,
}
Fields§
§all: Option<bool>
Replace all occurrences of the pattern.
first_from: Option<isize>
Replace the first match starting from the specified line.
Trait Implementations§
Source§impl Debug for FileWithReplacedOpts
impl Debug for FileWithReplacedOpts
Source§impl PartialEq for FileWithReplacedOpts
impl PartialEq for FileWithReplacedOpts
impl StructuralPartialEq for FileWithReplacedOpts
Auto Trait Implementations§
impl Freeze for FileWithReplacedOpts
impl RefUnwindSafe for FileWithReplacedOpts
impl Send for FileWithReplacedOpts
impl Sync for FileWithReplacedOpts
impl Unpin for FileWithReplacedOpts
impl UnwindSafe for FileWithReplacedOpts
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