bitfold_core/
either.rs

1/// A type that can hold one of two possible values.
2///
3/// Used for type-level choices where a value can be either `L` or `R`.
4#[derive(Debug)]
5pub enum Either<L, R> {
6    /// Left variant
7    Left(L),
8    /// Right variant
9    Right(R),
10}