ide_db::items_locator

Function items_with_name_in_module

source
pub fn items_with_name_in_module<'a>(
    sema: &'a Semantics<'_, RootDatabase>,
    module: Module,
    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.