Enum rustc_hir::OwnerNode [−][src]
pub enum OwnerNode<'hir> {
Item(&'hir Item<'hir>),
ForeignItem(&'hir ForeignItem<'hir>),
TraitItem(&'hir TraitItem<'hir>),
ImplItem(&'hir ImplItem<'hir>),
MacroDef(&'hir MacroDef<'hir>),
Crate(&'hir Mod<'hir>),
}Variants
Tuple Fields of Item
0: &'hir Item<'hir>Tuple Fields of ForeignItem
0: &'hir ForeignItem<'hir>Tuple Fields of TraitItem
0: &'hir TraitItem<'hir>Tuple Fields of ImplItem
0: &'hir ImplItem<'hir>Tuple Fields of MacroDef
0: &'hir MacroDef<'hir>Tuple Fields of Crate
0: &'hir Mod<'hir>Implementations
Trait Implementations
Auto Trait Implementations
impl<'hir> !RefUnwindSafe for OwnerNode<'hir>
impl<'hir> !UnwindSafe for OwnerNode<'hir>
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