pub fn items_with_name_in_module<T>(
sema: &Semantics<'_, 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.