pub struct DiffEntry {
pub path: VPath,
pub before: Option<NodeState>,
pub after: Option<NodeState>,
pub kind: DiffKind,
}Expand description
One path change in a canonical virtual filesystem diff.
Fields§
§path: VPathChanged virtual path.
before: Option<NodeState>Base state, or None when this is a creation.
after: Option<NodeState>Final virtual state, or None when this is a deletion.
kind: DiffKindSemantic change category derived from before and after.
Trait Implementations§
impl Eq for DiffEntry
impl StructuralPartialEq for DiffEntry
Auto Trait Implementations§
impl Freeze for DiffEntry
impl RefUnwindSafe for DiffEntry
impl Send for DiffEntry
impl Sync for DiffEntry
impl Unpin for DiffEntry
impl UnsafeUnpin for DiffEntry
impl UnwindSafe for DiffEntry
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