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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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: