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

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

A utility type used to flatten input trees. See Stream::from_nested.

Variants

Single(I)

Tuple Fields

0: I

The input tree flattens into a single input.

Many(Iter)

Tuple Fields

0: Iter

The input tree flattens into many sub-trees.

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.