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.
Re-exportsΒ§
use crate::ty::GenericArgs;πuse crate::ty::Span;πuse crate::ty::Ty;πuse crate::ty::index_impl;πuse crate::Crate;πuse crate::Symbol;πuse crate::ThreadLocalIndex;πuse crate::ThreadLocalIndex;πuse crate::with;π
MacrosΒ§
- crate_
def π - crate_
def_ πwith_ ty
StructsΒ§
- Attribute
- DefId
- A unique identification number for each item accessible for the current compilation unit.
TraitsΒ§
- Crate
Def - A trait for retrieving information about a particular definition.
- Crate
DefType - A trait that can be used to retrieve a definitionβs type.