Struct rustc_middle::hir::IndexedHir [−][src]
pub struct IndexedHir<'hir> {
map: IndexVec<LocalDefId, HirOwnerData<'hir>>,
parenting: FxHashMap<LocalDefId, HirId>,
}Fields
map: IndexVec<LocalDefId, HirOwnerData<'hir>>parenting: FxHashMap<LocalDefId, HirId>Trait Implementations
impl<'tcx> ArenaAllocatable<'tcx, IndexedHir<'tcx>> for IndexedHir<'tcx>[src]
impl<'tcx> ArenaAllocatable<'tcx, IndexedHir<'tcx>> for IndexedHir<'tcx>[src]fn allocate_on<'a>(self, arena: &'a Arena<'tcx>) -> &'a mut Self[src]
fn allocate_from_iter<'a>(
arena: &'a Arena<'tcx>,
iter: impl IntoIterator<Item = Self>
) -> &'a mut [Self]ⓘ[src]
arena: &'a Arena<'tcx>,
iter: impl IntoIterator<Item = Self>
) -> &'a mut [Self]ⓘ
Auto Trait Implementations
impl<'hir> !RefUnwindSafe for IndexedHir<'hir>
impl<'hir> !Send for IndexedHir<'hir>
impl<'hir> !Sync for IndexedHir<'hir>
impl<'hir> Unpin for IndexedHir<'hir>
impl<'hir> !UnwindSafe for IndexedHir<'hir>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> MaybeResult<T> for T[src]
impl<T> MaybeResult<T> for T[src]impl<T> WithConstness for T[src]
impl<T> WithConstness for T[src]fn with_constness(self, constness: Constness) -> ConstnessAnd<Self>[src]
fn with_const(self) -> ConstnessAnd<Self>[src]
fn without_const(self) -> ConstnessAnd<Self>[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,