pub struct CodeIndexGraphDiff {Show 15 fields
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 modified_inventory_symbols: Vec<SymbolId>,
pub modified_inventory_symbol_identities: Vec<String>,
pub removed_symbol_identities: Vec<String>,
pub changed_references: Vec<ReferenceId>,
pub removed_references: Vec<ReferenceId>,
pub removed_reference_kinds: Vec<String>,
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>Symbols added by the refresh.
modified_symbols: Vec<SymbolId>Existing symbols whose linkage-relevant fields changed.
changed_symbols: Vec<SymbolId>Added or linkage-modified symbols used to refresh graph consumers.
removed_symbols: Vec<SymbolId>Symbols removed by the refresh.
modified_symbol_identities: Vec<String>§modified_inventory_symbols: Vec<SymbolId>Existing symbols whose inventory-only fields changed.
These changes invalidate inventory consumers such as workspace statistics, but do not require linkage reconstruction.
modified_inventory_symbol_identities: Vec<String>§removed_symbol_identities: Vec<String>§changed_references: Vec<ReferenceId>§removed_references: Vec<ReferenceId>§removed_reference_kinds: Vec<String>§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_linkage_symbol_count(&self) -> usize
pub fn changed_inventory_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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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