Function ide_db::helpers::visit_file_defs
source ยท pub fn visit_file_defs(
sema: &Semantics<'_, RootDatabase>,
file_id: FileId,
cb: &mut dyn FnMut(Definition),
)
Expand description
Iterates all ModuleDef
s and Impl
blocks of the given file.