pub enum Delta {
Unmodified,
Added,
Deleted,
Modified,
Renamed,
Copied,
Ignored,
Untracked,
Typechange,
Unreadable,
Conflicted,
}
Expand description
What type of change is described by a DiffDelta
?
Variants
Unmodified
No changes
Added
Entry does not exist in old version
Deleted
Entry does not exist in new version
Modified
Entry content changed between old and new
Renamed
Entry was renamed between old and new
Copied
Entry was copied from another old entry
Ignored
Entry is ignored item in workdir
Untracked
Entry is untracked item in workdir
Typechange
Type of entry changed between old and new
Unreadable
Entry is unreadable
Conflicted
Entry in the index is conflicted
Trait Implementations
impl Copy for Delta
impl Eq for Delta
impl StructuralEq for Delta
impl StructuralPartialEq for Delta
Auto Trait Implementations
impl RefUnwindSafe for Delta
impl Send for Delta
impl Sync for Delta
impl Unpin for Delta
impl UnwindSafe for Delta
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more