Module ide_db::imports::import_assets
source · Expand description
Look up accessible paths for items.
Structs§
- A struct to find imports in the project, given a certain name (or its part) and the context.
- An import (not necessary the only one) that corresponds a certain given
PathImportCandidate
. (the structure is not entirely correct, since there can be situations requiring two imports, see FIXME below for the details) - Path import for a given name, qualified or not.
- A trait import needed for a given associated item access. For
some::path::SomeStruct::ASSOC_
, contains the type ofsome::path::SomeStruct
andASSOC_
as the item name.
Enums§
- A candidate for import, derived during various IDE activities:
- A name that will be used during item lookups.