ruchei_itertools/
either_or_both.rs

1//! <https://docs.rs/itertools/0.14.0/itertools/enum.EitherOrBoth.html>
2
3#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Clone, Copy, Hash)]
4pub enum EitherOrBoth<L, R> {
5    Both(L, R),
6    Left(L),
7    Right(R),
8}