Type Alias ModuleId
Source pub type ModuleId = ModuleIdLt<'static>;
pub struct ModuleId(pub(crate) Id, pub(crate) PhantomData<fn() -> &'static ()>);
§Safety
The caller must ensure that the ModuleId comes from the given database.
Returns the enclosing module this thing is defined within.
Returns the crate this thing is defined within.
Builds a resolver for type references inside this def.