pub enum FixMode {
Apply,
DryRun,
}Expand description
Whether to apply fixes or just simulate (dry-run).
Variants§
Apply
Apply fixes to the source text.
DryRun
Simulate fixes — audit stream is identical but source is unchanged.
Trait Implementations§
impl Copy for FixMode
impl Eq for FixMode
impl StructuralPartialEq for FixMode
Auto Trait Implementations§
impl Freeze for FixMode
impl RefUnwindSafe for FixMode
impl Send for FixMode
impl Sync for FixMode
impl Unpin for FixMode
impl UnsafeUnpin for FixMode
impl UnwindSafe for FixMode
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