regex_syntax/
either.rs

1/// A simple binary sum type.
2///
3/// This is occasionally useful in an ad hoc fashion.
4#[derive(Clone, Debug, Eq, PartialEq)]
5pub enum Either<Left, Right> {
6    Left(Left),
7    Right(Right),
8}