Enum lambek::sum::Union[][src]

pub enum Union<X, Tail> {
    Inl(X),
    Inr(Tail),
}

Variants

Inl(X)
Inr(Tail)

Trait Implementations

impl<X, Tail> LiftRow for Union<X, Tail> where
    Tail: LiftRow
[src]

impl<'a, X: 'a, Tail: 'a, F: 'a> RowApp<'a, F> for Union<X, Tail> where
    F: TypeCon
[src]

type Applied = Union<App<'a, F, X>, AppRow<'a, Tail, F>>

impl<X, Tail> RowAppGeneric for Union<X, Tail> where
    Tail: RowAppGeneric
[src]

impl<X, Tail> RowCon for Union<X, Tail>[src]

impl<X, Tail> Sum for Union<X, Tail> where
    Tail: Sum
[src]

Auto Trait Implementations

impl<X, Tail> RefUnwindSafe for Union<X, Tail> where
    Tail: RefUnwindSafe,
    X: RefUnwindSafe

impl<X, Tail> Send for Union<X, Tail> where
    Tail: Send,
    X: Send

impl<X, Tail> Sync for Union<X, Tail> where
    Tail: Sync,
    X: Sync

impl<X, Tail> Unpin for Union<X, Tail> where
    Tail: Unpin,
    X: Unpin

impl<X, Tail> UnwindSafe for Union<X, Tail> where
    Tail: UnwindSafe,
    X: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<'a, F, X, Y, FX> HasBiTypeApp<'a, F, X, Y> for FX where
    X: 'a,
    F: 'a + BiTypeApp<'a, X, Y, Applied = FX>,
    FX: 'a,
    Y: 'a, 
[src]

impl<'a, Row, F, RF> HasRowApp<'a, Row, F> for RF where
    F: 'a + TypeCon,
    Row: 'a + RowApp<'a, F, Applied = RF>,
    RF: 'a, 
[src]

impl<'a, F, X, FX> HasTypeApp<'a, F, X> for FX where
    X: 'a,
    F: 'a + TypeApp<'a, X, Applied = FX>,
    FX: 'a, 
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.