[−][src]Module rustc_hir::definitions
For each definition, we track the following data. A definition
here is defined somewhat circularly as "something with a DefId",
but it generally corresponds to things like structs, enums, etc.
There are also some rather random cases (like const initializer
expressions) that are mostly just leftovers.
Structs
| DefKey | A unique identifier that we can use to lookup a definition
precisely. It combines the index of the definition's parent (if
any) with a |
| DefPath | |
| DefPathHash | |
| DefPathTable | The |
| Definitions | The definition table containing node definitions.
It holds the |
| DisambiguatedDefPathData | A pair of |
Enums
| DefPathData | |
| DefPathDataName |