Struct rustc_middle::hir::ParentedNode [−][src]
pub struct ParentedNode<'tcx> {
parent: ItemLocalId,
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<'tcx>
impl<'tcx> !Send for ParentedNode<'tcx>
impl<'tcx> !Sync for ParentedNode<'tcx>
impl<'tcx> Unpin for ParentedNode<'tcx>
impl<'tcx> !UnwindSafe for ParentedNode<'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: 24 bytes