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

Tuple Fields of Expr

0: &'a Expr
GenericParam

Tuple Fields of GenericParam

0: &'a GenericParam
MacroArg

Tuple Fields of MacroArg

0: &'a MacroArg
NestedMetaItem

Tuple Fields of NestedMetaItem

0: &'a NestedMetaItem
SegmentParam

Tuple Fields of SegmentParam

0: &'a SegmentParam<'a>
FieldDef

Tuple Fields of FieldDef

0: &'a FieldDef
TuplePatField

Tuple Fields of TuplePatField

0: &'a TuplePatField<'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 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