pub trait SemanticIndex {
type Error: Error + Send + Sync + 'static;
// Required method
fn analyze(
&self,
workspace: &Path,
builder: &mut GraphBuilder,
) -> Result<(), Self::Error>;
}Expand description
Pluggable semantic backend. The single permitted entry point through
which a name-resolving analyzer (e.g. code-split-sema backed by ra_ap_*)
contributes nodes and edges to a GraphBuilder.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".