Enum typed_graph::Either5
source · pub enum Either5<T1, T2, T3, T4, T5> {
One(T1),
Two(T2),
Three(T3),
Four(T4),
Five(T5),
}
Variants§
Trait Implementations§
source§impl<T1: Clone, T2: Clone, T3: Clone, T4: Clone, T5: Clone> Clone for Either5<T1, T2, T3, T4, T5>
impl<T1: Clone, T2: Clone, T3: Clone, T4: Clone, T5: Clone> Clone for Either5<T1, T2, T3, T4, T5>
source§impl<T1: Debug, T2: Debug, T3: Debug, T4: Debug, T5: Debug> Debug for Either5<T1, T2, T3, T4, T5>
impl<T1: Debug, T2: Debug, T3: Debug, T4: Debug, T5: Debug> Debug for Either5<T1, T2, T3, T4, T5>
source§impl<'a, NK, EK, S, T, T1, T2, T3, T4, T5> Downcast<'a, NK, EK, Either5<&'a T1, &'a T2, &'a T3, &'a T4, &'a T5>, S> for T
impl<'a, NK, EK, S, T, T1, T2, T3, T4, T5> Downcast<'a, NK, EK, Either5<&'a T1, &'a T2, &'a T3, &'a T4, &'a T5>, S> for T
source§impl<T1: PartialEq, T2: PartialEq, T3: PartialEq, T4: PartialEq, T5: PartialEq> PartialEq for Either5<T1, T2, T3, T4, T5>
impl<T1: PartialEq, T2: PartialEq, T3: PartialEq, T4: PartialEq, T5: PartialEq> PartialEq for Either5<T1, T2, T3, T4, T5>
impl<T1: Eq, T2: Eq, T3: Eq, T4: Eq, T5: Eq> Eq for Either5<T1, T2, T3, T4, T5>
impl<T1, T2, T3, T4, T5> StructuralPartialEq for Either5<T1, T2, T3, T4, T5>
Auto Trait Implementations§
impl<T1, T2, T3, T4, T5> Freeze for Either5<T1, T2, T3, T4, T5>
impl<T1, T2, T3, T4, T5> RefUnwindSafe for Either5<T1, T2, T3, T4, T5>where
T1: RefUnwindSafe,
T2: RefUnwindSafe,
T3: RefUnwindSafe,
T4: RefUnwindSafe,
T5: RefUnwindSafe,
impl<T1, T2, T3, T4, T5> Send for Either5<T1, T2, T3, T4, T5>
impl<T1, T2, T3, T4, T5> Sync for Either5<T1, T2, T3, T4, T5>
impl<T1, T2, T3, T4, T5> Unpin for Either5<T1, T2, T3, T4, T5>
impl<T1, T2, T3, T4, T5> UnwindSafe for Either5<T1, T2, T3, T4, T5>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.