[−][src]Module rustc_hir::lang_items
Defines language items.
Language items are items that represent concepts intrinsic to the language itself. Examples are:
- Traits that specify "kinds"; e.g.,
Sync,Send. - Traits that represent operators; e.g.,
Add,Sub,Index. - Functions called by the compiler itself.
Structs
| LanguageItems |
Enums
| LangItem | A representation of all the valid language items in Rust. |
| LangItemGroup |
Constants
| NUM_GROUPS |
Statics
| ITEM_REFS | A mapping from the name of the lang item to its order and the form it must be of. |
Functions
| extract | Extracts the first |