pub enum DiffNode {
Container {
segment: PathSegment,
child_kind: ChildKind,
omitted_count: u16,
children: Vec<DiffNode>,
},
Leaf {
segment: PathSegment,
kind: DiffKind,
},
}Expand description
A node in the diff tree.
Variants§
Container
An intermediate node containing child diffs.
Fields
§
segment: PathSegmentThe path segment for this container.
Leaf
A terminal node representing a single difference.
Implementations§
Auto Trait Implementations§
impl Freeze for DiffNode
impl RefUnwindSafe for DiffNode
impl Send for DiffNode
impl Sync for DiffNode
impl Unpin for DiffNode
impl UnsafeUnpin for DiffNode
impl UnwindSafe for DiffNode
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