pub struct CodeIndexGraphDiff {
pub added_symbols: Vec<SymbolId>,
pub modified_symbols: Vec<SymbolId>,
pub changed_symbols: Vec<SymbolId>,
pub removed_symbols: Vec<SymbolId>,
pub modified_symbol_identities: Vec<String>,
pub removed_symbol_identities: Vec<String>,
pub changed_references: Vec<ReferenceId>,
pub removed_references: Vec<ReferenceId>,
pub symbol_id_remaps: Vec<(SymbolId, SymbolId)>,
pub reference_id_remaps: Vec<(ReferenceId, ReferenceId)>,
pub unchanged_symbols: usize,
pub unchanged_references: usize,
}Fields§
§added_symbols: Vec<SymbolId>§modified_symbols: Vec<SymbolId>§changed_symbols: Vec<SymbolId>§removed_symbols: Vec<SymbolId>§modified_symbol_identities: Vec<String>§removed_symbol_identities: Vec<String>§changed_references: Vec<ReferenceId>§removed_references: Vec<ReferenceId>§symbol_id_remaps: Vec<(SymbolId, SymbolId)>§reference_id_remaps: Vec<(ReferenceId, ReferenceId)>§unchanged_symbols: usize§unchanged_references: usizeImplementations§
Source§impl CodeIndexGraphDiff
impl CodeIndexGraphDiff
pub fn changed_symbol_count(&self) -> usize
pub fn changed_reference_count(&self) -> usize
Trait Implementations§
Source§impl Clone for CodeIndexGraphDiff
impl Clone for CodeIndexGraphDiff
Source§fn clone(&self) -> CodeIndexGraphDiff
fn clone(&self) -> CodeIndexGraphDiff
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 moreSource§impl Debug for CodeIndexGraphDiff
impl Debug for CodeIndexGraphDiff
Source§impl Default for CodeIndexGraphDiff
impl Default for CodeIndexGraphDiff
Source§fn default() -> CodeIndexGraphDiff
fn default() -> CodeIndexGraphDiff
Returns the “default value” for a type. Read more
impl Eq for CodeIndexGraphDiff
Source§impl From<CodeIndexGraphDiff> for LinkageGraphDelta
impl From<CodeIndexGraphDiff> for LinkageGraphDelta
Source§fn from(graph_diff: CodeIndexGraphDiff) -> Self
fn from(graph_diff: CodeIndexGraphDiff) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CodeIndexGraphDiff
impl PartialEq for CodeIndexGraphDiff
impl StructuralPartialEq for CodeIndexGraphDiff
Auto Trait Implementations§
impl Freeze for CodeIndexGraphDiff
impl RefUnwindSafe for CodeIndexGraphDiff
impl Send for CodeIndexGraphDiff
impl Sync for CodeIndexGraphDiff
impl Unpin for CodeIndexGraphDiff
impl UnsafeUnpin for CodeIndexGraphDiff
impl UnwindSafe for CodeIndexGraphDiff
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more