[][src]Enum safina::OptionABCDE

pub enum OptionABCDE<A, B, C, D, E> {
    A(A),
    B(B),
    C(C),
    D(D),
    E(E),
}

Variants

A(A)
B(B)
C(C)
D(D)
E(E)

Implementations

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

pub fn take(self) -> T[src]

impl<A, B, C, D, E> OptionABCDE<A, B, C, D, E>[src]

pub fn as_ref(&self) -> OptionABCDE<&A, &B, &C, &D, &E>[src]

pub fn a(&self) -> Option<&A>[src]

pub fn b(&self) -> Option<&B>[src]

pub fn c(&self) -> Option<&C>[src]

pub fn d(&self) -> Option<&D>[src]

pub fn e(&self) -> Option<&E>[src]

impl<A, B, C, D, E> OptionABCDE<A, B, C, D, E> where
    C: Debug,
    E: Debug,
    B: Debug,
    A: Debug,
    D: Debug
[src]

pub fn unwrap_a(self) -> A[src]

pub fn unwrap_b(self) -> B[src]

pub fn unwrap_c(self) -> C[src]

pub fn unwrap_d(self) -> D[src]

pub fn unwrap_e(self) -> E[src]

Trait Implementations

impl<A, B, C, D, E> Clone for OptionABCDE<A, B, C, D, E> where
    C: Clone,
    E: Clone,
    B: Clone,
    A: Clone,
    D: Clone
[src]

impl<A, B, C, D, E> Debug for OptionABCDE<A, B, C, D, E> where
    C: Debug,
    E: Debug,
    B: Debug,
    A: Debug,
    D: Debug
[src]

impl<A, B, C, D, E> Display for OptionABCDE<A, B, C, D, E> where
    C: Display,
    E: Display,
    B: Display,
    A: Display,
    D: Display
[src]

impl<A, B, C, D, E> Eq for OptionABCDE<A, B, C, D, E> where
    C: PartialEq<C>,
    E: PartialEq<E>,
    B: PartialEq<B>,
    A: PartialEq<A>,
    D: PartialEq<D>, 
[src]

impl<A, B, C, D, E> PartialEq<OptionABCDE<A, B, C, D, E>> for OptionABCDE<A, B, C, D, E> where
    C: PartialEq<C>,
    E: PartialEq<E>,
    B: PartialEq<B>,
    A: PartialEq<A>,
    D: PartialEq<D>, 
[src]

Auto Trait Implementations

impl<A, B, C, D, E> RefUnwindSafe for OptionABCDE<A, B, C, D, E> where
    A: RefUnwindSafe,
    B: RefUnwindSafe,
    C: RefUnwindSafe,
    D: RefUnwindSafe,
    E: RefUnwindSafe
[src]

impl<A, B, C, D, E> Send for OptionABCDE<A, B, C, D, E> where
    A: Send,
    B: Send,
    C: Send,
    D: Send,
    E: Send
[src]

impl<A, B, C, D, E> Sync for OptionABCDE<A, B, C, D, E> where
    A: Sync,
    B: Sync,
    C: Sync,
    D: Sync,
    E: Sync
[src]

impl<A, B, C, D, E> Unpin for OptionABCDE<A, B, C, D, E> where
    A: Unpin,
    B: Unpin,
    C: Unpin,
    D: Unpin,
    E: Unpin
[src]

impl<A, B, C, D, E> UnwindSafe for OptionABCDE<A, B, C, D, E> where
    A: UnwindSafe,
    B: UnwindSafe,
    C: UnwindSafe,
    D: UnwindSafe,
    E: UnwindSafe
[src]

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<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.