Struct rustc_middle::hir::OwnerNodes [−][src]
pub struct OwnerNodes<'tcx> {
hash: Fingerprint,
nodes: IndexVec<ItemLocalId, Option<ParentedNode<'tcx>>>,
bodies: FxHashMap<ItemLocalId, &'tcx Body<'tcx>>,
}Fields
hash: Fingerprintnodes: IndexVec<ItemLocalId, Option<ParentedNode<'tcx>>>bodies: FxHashMap<ItemLocalId, &'tcx Body<'tcx>>Trait Implementations
impl<'tcx> ArenaAllocatable<'tcx, OwnerNodes<'tcx>> for OwnerNodes<'tcx>[src]
impl<'tcx> ArenaAllocatable<'tcx, OwnerNodes<'tcx>> for OwnerNodes<'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]ⓘ
impl<'tcx> Debug for OwnerNodes<'tcx>[src]
impl<'tcx> Debug for OwnerNodes<'tcx>[src]impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for OwnerNodes<'tcx>[src]
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for OwnerNodes<'tcx>[src]fn hash_stable(
&self,
hcx: &mut StableHashingContext<'a>,
hasher: &mut StableHasher
)[src]
&self,
hcx: &mut StableHashingContext<'a>,
hasher: &mut StableHasher
)
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for OwnerNodes<'tcx>
impl<'tcx> !Send for OwnerNodes<'tcx>
impl<'tcx> !Sync for OwnerNodes<'tcx>
impl<'tcx> Unpin for OwnerNodes<'tcx>
impl<'tcx> !UnwindSafe for OwnerNodes<'tcx>
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,