Enum rustfmt_nightly::overflow::OverflowableItem[][src]

pub(crate) enum OverflowableItem<'a> {
    Expr(&'a Expr),
    GenericParam(&'a GenericParam),
    MacroArg(&'a MacroArg),
    NestedMetaItem(&'a NestedMetaItem),
    SegmentParam(&'a SegmentParam<'a>),
    FieldDef(&'a FieldDef),
    TuplePatField(&'a TuplePatField<'a>),
    Ty(&'a Ty),
}

Variants

Expr(&'a Expr)

Tuple Fields of Expr

0: &'a Expr
GenericParam(&'a GenericParam)

Tuple Fields of GenericParam

0: &'a GenericParam
MacroArg(&'a MacroArg)

Tuple Fields of MacroArg

0: &'a MacroArg
NestedMetaItem(&'a NestedMetaItem)

Tuple Fields of NestedMetaItem

0: &'a NestedMetaItem
SegmentParam(&'a SegmentParam<'a>)

Tuple Fields of SegmentParam

0: &'a SegmentParam<'a>
FieldDef(&'a FieldDef)

Tuple Fields of FieldDef

0: &'a FieldDef
TuplePatField(&'a TuplePatField<'a>)

Tuple Fields of TuplePatField

0: &'a TuplePatField<'a>
Ty(&'a Ty)

Tuple Fields of Ty

0: &'a Ty

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Rewrite self into shape.

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: