Enum rustc_hir_pretty::Nested[−][src]

pub enum Nested {
    Item(ItemId),
    TraitItem(TraitItemId),
    ImplItem(ImplItemId),
    ForeignItem(ForeignItemId),
    Body(BodyId),
    BodyParamPat(BodyId, usize),
}

Variants

Item

Tuple Fields of Item

0: ItemId
TraitItem

Tuple Fields of TraitItem

0: TraitItemId
ImplItem

Tuple Fields of ImplItem

0: ImplItemId
ForeignItem

Tuple Fields of ForeignItem

0: ForeignItemId
Body

Tuple Fields of Body

0: BodyId
BodyParamPat

Tuple Fields of BodyParamPat

0: BodyId1: usize

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 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