Enum coalesce::Coalesce3 [] [src]

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

Variants

A
B
C

Methods

impl<A, B, C> Coalesce3<A, B, C>

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

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

Trait Implementations

Derived Implementations

impl<A: Ord, B: Ord, C: Ord> Ord for Coalesce3<A, B, C> where A: Ord, B: Ord, C: Ord

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

impl<A: PartialOrd, B: PartialOrd, C: PartialOrd> PartialOrd for Coalesce3<A, B, C> where A: PartialOrd, B: PartialOrd, C: PartialOrd

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

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

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

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

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

impl<A: Eq, B: Eq, C: Eq> Eq for Coalesce3<A, B, C> where A: Eq, B: Eq, C: Eq

impl<A: PartialEq, B: PartialEq, C: PartialEq> PartialEq for Coalesce3<A, B, C> where A: PartialEq, B: PartialEq, C: PartialEq

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

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

impl<A: Hash, B: Hash, C: Hash> Hash for Coalesce3<A, B, C> where A: Hash, B: Hash, C: 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> Debug for Coalesce3<A, B, C> where A: Debug, B: Debug, C: Debug

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

impl<A: Clone, B: Clone, C: Clone> Clone for Coalesce3<A, B, C> where A: Clone, B: Clone, C: Clone

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

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

impl<A: Copy, B: Copy, C: Copy> Copy for Coalesce3<A, B, C> where A: Copy, B: Copy, C: Copy