Struct rustc_middle::hir::Owner [−][src]
pub struct Owner<'tcx> {
node: Node<'tcx>,
}Expand description
Top-level HIR node for current owner. This only contains the node for which
HirId::local_id == 0, and excludes bodies.
Fields
node: Node<'tcx>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 Owner<'tcx>impl<'tcx> !UnwindSafe for Owner<'tcx>Blanket Implementations
Mutably borrows from an owned value. Read more
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: 16 bytes