pub(crate) trait PopulateSignatureSymbols<'db> {
// Required method
fn populate_signature_symbols(
&self,
db: &'db dyn Db,
symbols: &mut SignatureSymbols<'db>,
);
}Expand description
Iterate over the items in a signature (function, class, impl, etc) and create the symbols for generic types and/or parameters declared within. It is used to support Dada’s “inline” declarations, e.g.
fn foo(v: Vec[type T]) {}This method is only concerned with explicit declarations, not defaulted ones,
which are handled by PopulateDefaultSymbols.