Module stable_mir::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.



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


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