ide_db::imports

Module 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 of some::path::SomeStruct and ASSOC_ as the item name.

Enums§

Functions§