Type Alias Or2

Source
pub type Or2<T0, T1> = Or<T0, T1>;
Expand description

An enum of 2 variants.

Aliased Type§

pub enum Or2<T0, T1> {
    T0(T0),
    T1(T1),
}

Variants§

§

T0(T0)

A variant of the Or enum that contains a T0 value.

§

T1(T1)

A variant of the Or enum that contains a T1 value.