Type Definition rustc_hir::hir::UsePath

source ·
pub type UsePath<'hir> = Path<'hir, SmallVec<[Res; 3]>>;
Expand description

Up to three resolutions for type, value and macro namespaces.

Trait Implementations§


impl<'tcx> ArenaAllocatable<'tcx, IsNotCopy> for UsePath<'tcx>


fn allocate_on<'a>(self, arena: &'a Arena<'tcx>) -> &'a mut Self


fn allocate_from_iter<'a>( arena: &'a Arena<'tcx>, iter: impl IntoIterator<Item = Self> ) -> &'a mut [Self]


Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.

Size: 72 bytes