pub struct ResolutionProbe { /* private fields */ }Expand description
A cloneable handle to this thread’s observation state.
Implementations§
Source§impl ResolutionProbe
impl ResolutionProbe
Sourcepub fn manifest_reads(&self) -> Box<[Box<str>]>
pub fn manifest_reads(&self) -> Box<[Box<str>]>
Every Cargo.toml the production loaders read, in order.
Sourcepub fn source_reads(&self) -> Box<[Box<str>]>
pub fn source_reads(&self) -> Box<[Box<str>]>
Every Rust source the production loaders read, in order.
Sourcepub fn parses(&self) -> Box<[Box<str>]>
pub fn parses(&self) -> Box<[Box<str>]>
Every Rust source production parsed, in order.
One route reaches syn, so a source appears once per parse whichever
caller asked for it — the snapshot reader or the lint pipeline.
Sourcepub fn site_visits(&self) -> Box<[Box<str>]>
pub fn site_visits(&self) -> Box<[Box<str>]>
Every source the one-pass site visitor walked, in order.
Sourcepub fn import_walks(&self) -> Box<[Box<str>]>
pub fn import_walks(&self) -> Box<[Box<str>]>
Every use item whose tree the extractor walked, in order.
Sourcepub fn capability_projections(&self) -> Box<[Box<str>]>
pub fn capability_projections(&self) -> Box<[Box<str>]>
Every stored FileIr the production detector projected, in order. A
consumer that reparsed instead of reusing the stored IR names its source
in Self::parses a second time rather than here, because every route
to a fresh FileIr parses first and every parse is recorded there.
Sourcepub fn project_loads(&self) -> u32
pub fn project_loads(&self) -> u32
How many project indexes the production loader built.
Sourcepub fn dependency_chain_extensions(&self) -> u64
pub fn dependency_chain_extensions(&self) -> u64
How many dependency-selection edges extended an ancestry chain.
Sourcepub fn dependency_chain_history_copies(&self) -> u64
pub fn dependency_chain_history_copies(&self) -> u64
How many existing ancestry entries dependency selection copied while extending chains.
Sourcepub fn semantic_workspace_loads(&self) -> u32
pub fn semantic_workspace_loads(&self) -> u32
How many rust-analyzer workspaces were loaded.
Sourcepub fn semantic_file_setups(&self) -> Box<[Box<str>]>
pub fn semantic_file_setups(&self) -> Box<[Box<str>]>
Every snapshot source the semantic database set up, in order. A source whose analysis is already cached appears once, not again.
Sourcepub fn semantic_queries(&self) -> Box<[Box<str>]>
pub fn semantic_queries(&self) -> Box<[Box<str>]>
Every snapshot source queried for its definition targets, in order.
Sourcepub fn promotions(&self) -> Box<[Box<str>]>
pub fn promotions(&self) -> Box<[Box<str>]>
Every source whose reference took its candidates from a semantic edge.
Trait Implementations§
Source§impl Clone for ResolutionProbe
impl Clone for ResolutionProbe
Source§fn clone(&self) -> ResolutionProbe
fn clone(&self) -> ResolutionProbe
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for ResolutionProbe
impl !Send for ResolutionProbe
impl !Sync for ResolutionProbe
impl !UnwindSafe for ResolutionProbe
impl Freeze for ResolutionProbe
impl Unpin for ResolutionProbe
impl UnsafeUnpin for ResolutionProbe
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
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> ⓘ
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> ⓘ
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