Enum corollary_support::Either [] [src]

pub enum Either<A, B> {
    Left(A),
    Right(B),
}

Variants

Methods

impl<A, B> Either<A, B>
[src]

Trait Implementations

impl<A: Clone, B: Clone> Clone for Either<A, B>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<A: Debug, B: Debug> Debug for Either<A, B>
[src]

Formats the value using the given formatter.