Enum arg_combinators::util::Either[][src]

pub enum Either<L, R> {
    Left(L),
    Right(R),
}

Variants

Methods

impl<T> Either<T, T>
[src]

Trait Implementations

impl<L: Debug, R: Debug> Debug for Either<L, R>
[src]

Formats the value using the given formatter. Read more

impl<L: PartialEq, R: PartialEq> PartialEq for Either<L, R>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<L: Eq, R: Eq> Eq for Either<L, R>
[src]

impl<L, R> Display for Either<L, R> where
    L: Display,
    R: Display
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<L, R> Send for Either<L, R> where
    L: Send,
    R: Send

impl<L, R> Sync for Either<L, R> where
    L: Sync,
    R: Sync