Sign in
fuchsia
/
fuchsia
/
62954e4a00d1f42482bcf8873b7a212c77a46ac3
/
.
/
third_party
/
rust_crates
/
vendor
/
regex-syntax
/
src
/
either.rs
blob: 7ae41e4ced7460d31b8e19f7b534f0924578dc28 [
file
] [
log
] [
blame
]
/// A simple binary sum type.
///
/// This is occasionally useful in an ad hoc fashion.
#[
derive
(
Clone
,
Debug
,
Eq
,
PartialEq
)]
pub
enum
Either
<
Left
,
Right
>
{
Left
(
Left
),
Right
(
Right
),
}