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 sequence items may follow.
No more sequence items will follow.