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: FingerprintPre-computed hash of the full HIR.
nodes: IndexVec<ItemLocalId, Option<ParentedNode<'tcx>>>Full HIR for the current owner.
bodies: FxHashMap<ItemLocalId, &'tcx Body<'tcx>>Content of local bodies.
Trait Implementations
fn allocate_from_iter<'a>(
arena: &'a Arena<'tcx>,
iter: impl IntoIterator<Item = Self>
) -> &'a mut [Self]
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
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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