Enum coalesce::Coalesce4 [] [src]

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

Variants

A
B
C
D

Methods

impl<A, B, C, D> Coalesce4<A, B, C, D>

fn as_ref(&self) -> Coalesce4<&A, &B, &C, &D>

fn as_mut(&mut self) -> Coalesce4<&mut A, &mut B, &mut C, &mut D>

Trait Implementations

Derived Implementations

impl<A: Ord, B: Ord, C: Ord, D: Ord> Ord for Coalesce4<A, B, C, D> where A: Ord, B: Ord, C: Ord, D: Ord

fn cmp(&self, __arg_0: &Coalesce4<A, B, C, D>) -> Ordering

impl<A: PartialOrd, B: PartialOrd, C: PartialOrd, D: PartialOrd> PartialOrd for Coalesce4<A, B, C, D> where A: PartialOrd, B: PartialOrd, C: PartialOrd, D: PartialOrd

fn partial_cmp(&self, __arg_0: &Coalesce4<A, B, C, D>) -> Option<Ordering>

fn lt(&self, __arg_0: &Coalesce4<A, B, C, D>) -> bool

fn le(&self, __arg_0: &Coalesce4<A, B, C, D>) -> bool

fn gt(&self, __arg_0: &Coalesce4<A, B, C, D>) -> bool

fn ge(&self, __arg_0: &Coalesce4<A, B, C, D>) -> bool

impl<A: Eq, B: Eq, C: Eq, D: Eq> Eq for Coalesce4<A, B, C, D> where A: Eq, B: Eq, C: Eq, D: Eq

impl<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq> PartialEq for Coalesce4<A, B, C, D> where A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq

fn eq(&self, __arg_0: &Coalesce4<A, B, C, D>) -> bool

fn ne(&self, __arg_0: &Coalesce4<A, B, C, D>) -> bool

impl<A: Hash, B: Hash, C: Hash, D: Hash> Hash for Coalesce4<A, B, C, D> where A: Hash, B: Hash, C: Hash, D: Hash

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl<A: Debug, B: Debug, C: Debug, D: Debug> Debug for Coalesce4<A, B, C, D> where A: Debug, B: Debug, C: Debug, D: Debug

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl<A: Clone, B: Clone, C: Clone, D: Clone> Clone for Coalesce4<A, B, C, D> where A: Clone, B: Clone, C: Clone, D: Clone

fn clone(&self) -> Coalesce4<A, B, C, D>

fn clone_from(&mut self, source: &Self)

impl<A: Copy, B: Copy, C: Copy, D: Copy> Copy for Coalesce4<A, B, C, D> where A: Copy, B: Copy, C: Copy, D: Copy