Enum itertools::EitherOrBoth
[−]
[src]
pub enum EitherOrBoth<A, B> { Both(A, B), Left(A), Right(B), }
A value yielded by ZipLongest
.
Contains one or two values, depending on which of the input iterators are exhausted.
See .zip_longest() for more information.
Variants
Both | Neither input iterator is exhausted yet, yielding two values. | |
Left | The parameter iterator of | |
Right | The |