pub struct ResolvedProject {
pub index: Arc<SymbolIndex>,
pub resolutions: ResolutionMap,
}Expand description
Index + resolutions, aggregated across every file’s [resolve_query]
(issue #632 / FG-3) — deliberately without diagnostics, so this struct’s
PartialEq never touches a diagnostic’s range. Neither
[symbol_index_query] nor any file’s [resolve_query] reads
project.analysis_options, so an AnalysisOptions edit that only
changes diagnostics (e.g. raising semantic_type_check to Error) never
even triggers salsa to re-run this query’s closure — not just a
backdate, a full skip (pinned by fg3_dependency_edges.rs).
Arc-wrapped (design doc §2 Fork 2’s “Arcfg3_dependency_edges.rs.
Fields§
§index: Arc<SymbolIndex>§resolutions: ResolutionMapTrait Implementations§
Source§impl Clone for ResolvedProject
impl Clone for ResolvedProject
Source§fn clone(&self) -> ResolvedProject
fn clone(&self) -> ResolvedProject
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 ResolvedProject
impl Debug for ResolvedProject
Source§impl PartialEq for ResolvedProject
impl PartialEq for ResolvedProject
impl StructuralPartialEq for ResolvedProject
Auto Trait Implementations§
impl Freeze for ResolvedProject
impl RefUnwindSafe for ResolvedProject
impl Send for ResolvedProject
impl Sync for ResolvedProject
impl Unpin for ResolvedProject
impl UnsafeUnpin for ResolvedProject
impl UnwindSafe for ResolvedProject
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