pub struct SemanticDiff {
pub entries: Vec<SemanticDiffEntry>,
pub affected_edges: Vec<AffectedEdge>,
pub stats: DiffStats,
}Expand description
A semantically enriched diff.
Fields§
§entries: Vec<SemanticDiffEntry>Enriched entries (one per changed node).
affected_edges: Vec<AffectedEdge>Edges affected by the changes (broken imports, stale calls, etc.).
stats: DiffStatsSummary statistics.
Trait Implementations§
Source§impl Clone for SemanticDiff
impl Clone for SemanticDiff
Source§fn clone(&self) -> SemanticDiff
fn clone(&self) -> SemanticDiff
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 SemanticDiff
impl RefUnwindSafe for SemanticDiff
impl Send for SemanticDiff
impl Sync for SemanticDiff
impl Unpin for SemanticDiff
impl UnsafeUnpin for SemanticDiff
impl UnwindSafe for SemanticDiff
Blanket Implementations§
impl<T> Allocation for T
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