pub struct GraphDiff {
pub added_symbols: Vec<Located<Symbol>>,
pub removed_symbols: Vec<Located<Symbol>>,
pub added_references: Vec<Located<Reference>>,
pub removed_references: Vec<Located<Reference>>,
}Expand description
The structural difference between two views (a → b).
Fields§
§added_symbols: Vec<Located<Symbol>>Symbols in b but not a.
removed_symbols: Vec<Located<Symbol>>Symbols in a but not b.
added_references: Vec<Located<Reference>>References in b but not a.
removed_references: Vec<Located<Reference>>References in a but not b.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GraphDiff
impl<'de> Deserialize<'de> for GraphDiff
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GraphDiff
impl StructuralPartialEq for GraphDiff
Auto Trait Implementations§
impl Freeze for GraphDiff
impl RefUnwindSafe for GraphDiff
impl Send for GraphDiff
impl Sync for GraphDiff
impl Unpin for GraphDiff
impl UnsafeUnpin for GraphDiff
impl UnwindSafe for GraphDiff
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