Struct rustc_hir::hir::ParentedNode [−][src]
pub struct ParentedNode<'tcx> {
pub parent: ItemLocalId,
pub node: Node<'tcx>,
}Expand description
HIR node coupled with its parent’s id in the same HIR owner.
The parent is trash when the node is a HIR owner.
Fields
parent: ItemLocalIdnode: Node<'tcx>Trait Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for ParentedNode
impl<'tcx> !Send for ParentedNode
impl<'tcx> !Sync for ParentedNode
impl<'tcx> Unpin for ParentedNode
impl<'tcx> !UnwindSafe for ParentedNode
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
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: 24 bytes
