Function items_with_name_in_module

Source
pub fn items_with_name_in_module<T>(
    db: &RootDatabase,
    module: Module,
    name: NameToImport,
    assoc_item_search: AssocSearchMode,
    cb: impl FnMut(ItemInNs) -> ControlFlow<T>,
) -> Option<T>
Expand description

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