Enum arg_combinators::Either[][src]

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

Variants

Trait Implementations

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

Formats the value using the given formatter. Read more

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: Copy, B: Copy> Copy for Either<A, B>
[src]

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<A, B> Send for Either<A, B> where
    A: Send,
    B: Send

impl<A, B> Sync for Either<A, B> where
    A: Sync,
    B: Sync