Module crate_def

Source
Expand description

Module that define a common trait for things that represent a crate definition, such as, a function, a trait, an enum, and any other definitions.

Macros§

crate_def 🔒
crate_def_with_ty 🔒

Structs§

Attribute
DefId
A unique identification number for each item accessible for the current compilation unit.

Traits§

CrateDef
A trait for retrieving information about a particular definition.
CrateDefType
A trait that can be used to retrieve a definition’s type.