Enum rustc_hir_pretty::AnnNode [−][src]
pub enum AnnNode<'a> {
Name(&'a Symbol),
Block(&'a Block<'a>),
Item(&'a Item<'a>),
SubItem(HirId),
Expr(&'a Expr<'a>),
Pat(&'a Pat<'a>),
Arm(&'a Arm<'a>),
}
Variants
Name(&'a Symbol)
Tuple Fields of Name
0: &'a Symbol
Block(&'a Block<'a>)
Tuple Fields of Block
0: &'a Block<'a>
Item(&'a Item<'a>)
Tuple Fields of Item
0: &'a Item<'a>
SubItem(HirId)
Tuple Fields of SubItem
0: HirId
Expr(&'a Expr<'a>)
Tuple Fields of Expr
0: &'a Expr<'a>
Pat(&'a Pat<'a>)
Tuple Fields of Pat
0: &'a Pat<'a>
Arm(&'a Arm<'a>)
Tuple Fields of Arm
0: &'a Arm<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for AnnNode<'a>
impl<'a> !UnwindSafe for AnnNode<'a>
Blanket Implementations
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: 16 bytes
Size for each variant:
Name
: 12 bytesBlock
: 12 bytesItem
: 12 bytesSubItem
: 8 bytesExpr
: 12 bytesPat
: 12 bytesArm
: 12 bytes