pub enum DiffKind {
Added,
Modified,
Deleted,
Unchanged,
}Expand description
Kind of file change.
Variants§
Added
File was added.
Modified
File was modified.
Deleted
File was deleted.
Unchanged
File is unchanged (used in some comparison contexts).
Implementations§
Trait Implementations§
impl Copy for DiffKind
impl Eq for DiffKind
impl StructuralPartialEq for DiffKind
Auto Trait Implementations§
impl Freeze for DiffKind
impl RefUnwindSafe for DiffKind
impl Send for DiffKind
impl Sync for DiffKind
impl Unpin for DiffKind
impl UnsafeUnpin for DiffKind
impl UnwindSafe for DiffKind
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