pub enum Either10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> {
    One(T1),
    Two(T2),
    Three(T3),
    Four(T4),
    Five(T5),
    Six(T6),
    Seven(T7),
    Eight(T8),
    Nine(T9),
    Ten(T10),
}

Variants§

§

One(T1)

§

Two(T2)

§

Three(T3)

§

Four(T4)

§

Five(T5)

§

Six(T6)

§

Seven(T7)

§

Eight(T8)

§

Nine(T9)

§

Ten(T10)

Trait Implementations§

source§

impl<T1: Clone, T2: Clone, T3: Clone, T4: Clone, T5: Clone, T6: Clone, T7: Clone, T8: Clone, T9: Clone, T10: Clone> Clone for Either10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>

source§

fn clone(&self) -> Either10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl<T1: Debug, T2: Debug, T3: Debug, T4: Debug, T5: Debug, T6: Debug, T7: Debug, T8: Debug, T9: Debug, T10: Debug> Debug for Either10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, NK, EK, S, T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> Downcast<'a, NK, EK, Either10<&'a T1, &'a T2, &'a T3, &'a T4, &'a T5, &'a T6, &'a T7, &'a T8, &'a T9, &'a T10>, S> for T
where T: Typed + Downcast<'a, NK, EK, &'a T1, S> + Downcast<'a, NK, EK, &'a T2, S> + Downcast<'a, NK, EK, &'a T3, S> + Downcast<'a, NK, EK, &'a T4, S> + Downcast<'a, NK, EK, &'a T5, S> + Downcast<'a, NK, EK, &'a T6, S> + Downcast<'a, NK, EK, &'a T7, S> + Downcast<'a, NK, EK, &'a T8, S> + Downcast<'a, NK, EK, &'a T9, S> + Downcast<'a, NK, EK, &'a T10, S>, NK: Key, EK: Key, S: SchemaExt<NK, EK>, T1: Typed, T2: Typed, T3: Typed, T4: Typed, T5: Typed, T6: Typed, T7: Typed, T8: Typed, T9: Typed, T10: Typed,

source§

fn downcast<'b: 'a>( &'a self ) -> SchemaResult<Either10<&'a T1, &'a T2, &'a T3, &'a T4, &'a T5, &'a T6, &'a T7, &'a T8, &'a T9, &'a T10>, NK, EK, S>

Cast a node or edge into a more specific type Read more
source§

impl<T1: PartialEq, T2: PartialEq, T3: PartialEq, T4: PartialEq, T5: PartialEq, T6: PartialEq, T7: PartialEq, T8: PartialEq, T9: PartialEq, T10: PartialEq> PartialEq for Either10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>

source§

fn eq(&self, other: &Either10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<T1: Eq, T2: Eq, T3: Eq, T4: Eq, T5: Eq, T6: Eq, T7: Eq, T8: Eq, T9: Eq, T10: Eq> Eq for Either10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> StructuralPartialEq for Either10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>

Auto Trait Implementations§

§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> Freeze for Either10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
where T1: Freeze, T2: Freeze, T3: Freeze, T4: Freeze, T5: Freeze, T6: Freeze, T7: Freeze, T8: Freeze, T9: Freeze, T10: Freeze,

§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> RefUnwindSafe for Either10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>

§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> Send for Either10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
where T1: Send, T2: Send, T3: Send, T4: Send, T5: Send, T6: Send, T7: Send, T8: Send, T9: Send, T10: Send,

§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> Sync for Either10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
where T1: Sync, T2: Sync, T3: Sync, T4: Sync, T5: Sync, T6: Sync, T7: Sync, T8: Sync, T9: Sync, T10: Sync,

§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> Unpin for Either10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
where T1: Unpin, T2: Unpin, T3: Unpin, T4: Unpin, T5: Unpin, T6: Unpin, T7: Unpin, T8: Unpin, T9: Unpin, T10: Unpin,

§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> UnwindSafe for Either10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.