Enum typed_graph::Either7

source ·
pub enum Either7<T1, T2, T3, T4, T5, T6, T7> {
    One(T1),
    Two(T2),
    Three(T3),
    Four(T4),
    Five(T5),
    Six(T6),
    Seven(T7),
}

Variants§

§

One(T1)

§

Two(T2)

§

Three(T3)

§

Four(T4)

§

Five(T5)

§

Six(T6)

§

Seven(T7)

Trait Implementations§

source§

impl<T1: Clone, T2: Clone, T3: Clone, T4: Clone, T5: Clone, T6: Clone, T7: Clone> Clone for Either7<T1, T2, T3, T4, T5, T6, T7>

source§

fn clone(&self) -> Either7<T1, T2, T3, T4, T5, T6, T7>

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> Debug for Either7<T1, T2, T3, T4, T5, T6, T7>

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> Downcast<'a, NK, EK, Either7<&'a T1, &'a T2, &'a T3, &'a T4, &'a T5, &'a T6, &'a T7>, 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>, NK: Key, EK: Key, S: SchemaExt<NK, EK>, T1: Typed, T2: Typed, T3: Typed, T4: Typed, T5: Typed, T6: Typed, T7: Typed,

source§

fn downcast<'b: 'a>( &'a self ) -> SchemaResult<Either7<&'a T1, &'a T2, &'a T3, &'a T4, &'a T5, &'a T6, &'a T7>, 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> PartialEq for Either7<T1, T2, T3, T4, T5, T6, T7>

source§

fn eq(&self, other: &Either7<T1, T2, T3, T4, T5, T6, T7>) -> 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> Eq for Either7<T1, T2, T3, T4, T5, T6, T7>

source§

impl<T1, T2, T3, T4, T5, T6, T7> StructuralPartialEq for Either7<T1, T2, T3, T4, T5, T6, T7>

Auto Trait Implementations§

§

impl<T1, T2, T3, T4, T5, T6, T7> Freeze for Either7<T1, T2, T3, T4, T5, T6, T7>
where T1: Freeze, T2: Freeze, T3: Freeze, T4: Freeze, T5: Freeze, T6: Freeze, T7: Freeze,

§

impl<T1, T2, T3, T4, T5, T6, T7> RefUnwindSafe for Either7<T1, T2, T3, T4, T5, T6, T7>

§

impl<T1, T2, T3, T4, T5, T6, T7> Send for Either7<T1, T2, T3, T4, T5, T6, T7>
where T1: Send, T2: Send, T3: Send, T4: Send, T5: Send, T6: Send, T7: Send,

§

impl<T1, T2, T3, T4, T5, T6, T7> Sync for Either7<T1, T2, T3, T4, T5, T6, T7>
where T1: Sync, T2: Sync, T3: Sync, T4: Sync, T5: Sync, T6: Sync, T7: Sync,

§

impl<T1, T2, T3, T4, T5, T6, T7> Unpin for Either7<T1, T2, T3, T4, T5, T6, T7>
where T1: Unpin, T2: Unpin, T3: Unpin, T4: Unpin, T5: Unpin, T6: Unpin, T7: Unpin,

§

impl<T1, T2, T3, T4, T5, T6, T7> UnwindSafe for Either7<T1, T2, T3, T4, T5, T6, T7>
where T1: UnwindSafe, T2: UnwindSafe, T3: UnwindSafe, T4: UnwindSafe, T5: UnwindSafe, T6: UnwindSafe, T7: UnwindSafe,

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.