pub struct FileFixResult {
pub path: PathBuf,
pub applied: usize,
pub conflict: Option<FixConflict>,
}Expand description
Outcome of applying --fix to one file.
Fields§
§path: PathBufFile that was considered.
applied: usizeNumber of edits applied. Zero when the file was skipped.
conflict: Option<FixConflict>Present when the file was skipped because two edits overlapped.
Trait Implementations§
Source§impl Clone for FileFixResult
impl Clone for FileFixResult
Source§fn clone(&self) -> FileFixResult
fn clone(&self) -> FileFixResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FileFixResult
impl RefUnwindSafe for FileFixResult
impl Send for FileFixResult
impl Sync for FileFixResult
impl Unpin for FileFixResult
impl UnsafeUnpin for FileFixResult
impl UnwindSafe for FileFixResult
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