Enum chumsky::stream::Flat[][src]

pub enum Flat<I, Iter> {
    Single(I),
    Many(Iter),
}
Expand description

A utility type used to flatten input trees.

Variants

Single(I)

The input tree flattens into a single input.

Tuple Fields of Single

0: I
Many(Iter)

The input tree flattens into many sub-trees.

Tuple Fields of Many

0: Iter

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

The number of items that this chain link consists of.

Append the elements in this link to the chain.

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.