Enum corollary_support::Either
[−]
[src]
pub enum Either<A, B> { Left(A), Right(B), }
Variants
Left(A)
Right(B)
Methods
impl<A, B> Either<A, B>
[src]
Trait Implementations
impl<A: Clone, B: Clone> Clone for Either<A, B>
[src]
fn clone(&self) -> Either<A, B>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more