Enum panda_pile::SequenceState[][src]

pub enum SequenceState<R, L> {
    More(R),
    Final(L),
}
Expand description

A sequence of arbitrary length is considered to consist of an arbitrary number of items of some type R followed by (at most) one item of type L. A SequenceState<R, L> indicates whether its contained value belongs to the part of the sequence that can be repeated an arbitrary number of times, or whether the last item of the sequence has been reached.

Variants

More(R)

More sequence items may follow.

Tuple Fields of More

0: R
Final(L)

No more sequence items will follow.

Tuple Fields of Final

0: L

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.