☰
Debian Codegraph
@
1.4.4-1
/
/
.cargo
/
vendor
/
regex-syntax
/
src
/
either.rs
☽
☼
.cargo/vendor/regex-syntax/src/either.rs
code
plain
raw
Apache-2.0-Expat
2010, The Rust Project Developers; 2014, The Rust Project Developers; 2014-2020, The Rust Project Developers; 2015, The Rust Project Developers; 2016, The Rust Project Developers
debian/copyright
1
/// A simple binary sum type.
2
///
3
/// This is occasionally useful in an ad hoc fashion.
4
#[derive(Clone, Debug, Eq, PartialEq)]
5
pub enum Either<Left, Right> {
6
Left(Left),
7
Right(Right),
8
}