Function ide_db::items_locator::items_with_name

source ยท
pub fn items_with_name<'a>(
    sema: &'a Semantics<'_, RootDatabase>,
    krate: Crate,
    name: NameToImport,
    assoc_item_search: AssocSearchMode,
) -> impl Iterator<Item = ItemInNs> + 'a
Expand description

Searches for importable items with the given name in the crate and its dependencies.