Enum arg_combinators::Either [−][src]
pub enum Either<A, B> { Left(A), Right(B), }
Variants
Left(A)
Right(B)
Trait Implementations
impl<A: Debug, B: Debug> Debug for Either<A, B>
[src]
impl<A: Debug, B: Debug> Debug for Either<A, B>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<A: Clone, B: Clone> Clone for Either<A, B>
[src]
impl<A: Clone, B: Clone> Clone for Either<A, B>
fn clone(&self) -> 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[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<A: Copy, B: Copy> Copy for Either<A, B>
[src]
impl<A: Copy, B: Copy> Copy for Either<A, B>
impl<A: Display, B: Display> Display for Either<A, B>
[src]
impl<A: Display, B: Display> Display for Either<A, B>