TypeSet

Trait TypeSet 

Source
pub trait TypeSet {
    type Variants: TupleForm;
    type Enum;
    type EnumRef<'a>
       where Self: 'a;
}

Required Associated Types§

Source

type Variants: TupleForm

Source

type Enum

Source

type EnumRef<'a> where Self: 'a

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl TypeSet for ()

Source§

type Variants = End

Source§

type Enum = E0

Source§

type EnumRef<'a> = E0 where Self: 'a

Source§

impl<A> TypeSet for (A,)

Source§

type Variants = Cons<A, End>

Source§

type Enum = E1<A>

Source§

type EnumRef<'a> = E1<&'a A> where Self: 'a

Source§

impl<A, B> TypeSet for (A, B)

Source§

type Variants = Cons<A, Cons<B, End>>

Source§

type Enum = E2<A, B>

Source§

type EnumRef<'a> = E2<&'a A, &'a B> where Self: 'a

Source§

impl<A, B, C> TypeSet for (A, B, C)

Source§

type Variants = Cons<A, Cons<B, Cons<C, End>>>

Source§

type Enum = E3<A, B, C>

Source§

type EnumRef<'a> = E3<&'a A, &'a B, &'a C> where Self: 'a

Source§

impl<A, B, C, D> TypeSet for (A, B, C, D)

Source§

type Variants = Cons<A, Cons<B, Cons<C, Cons<D, End>>>>

Source§

type Enum = E4<A, B, C, D>

Source§

type EnumRef<'a> = E4<&'a A, &'a B, &'a C, &'a D> where Self: 'a

Source§

impl<A, B, C, D, E> TypeSet for (A, B, C, D, E)

Source§

type Variants = Cons<A, Cons<B, Cons<C, Cons<D, Cons<E, End>>>>>

Source§

type Enum = E5<A, B, C, D, E>

Source§

type EnumRef<'a> = E5<&'a A, &'a B, &'a C, &'a D, &'a E> where Self: 'a

Source§

impl<A, B, C, D, E, F> TypeSet for (A, B, C, D, E, F)

Source§

type Variants = Cons<A, Cons<B, Cons<C, Cons<D, Cons<E, Cons<F, End>>>>>>

Source§

type Enum = E6<A, B, C, D, E, F>

Source§

type EnumRef<'a> = E6<&'a A, &'a B, &'a C, &'a D, &'a E, &'a F> where Self: 'a

Source§

impl<A, B, C, D, E, F, G> TypeSet for (A, B, C, D, E, F, G)

Source§

type Variants = Cons<A, Cons<B, Cons<C, Cons<D, Cons<E, Cons<F, Cons<G, End>>>>>>>

Source§

type Enum = E7<A, B, C, D, E, F, G>

Source§

type EnumRef<'a> = E7<&'a A, &'a B, &'a C, &'a D, &'a E, &'a F, &'a G> where Self: 'a

Source§

impl<A, B, C, D, E, F, G, H> TypeSet for (A, B, C, D, E, F, G, H)

Source§

type Variants = Cons<A, Cons<B, Cons<C, Cons<D, Cons<E, Cons<F, Cons<G, Cons<H, End>>>>>>>>

Source§

type Enum = E8<A, B, C, D, E, F, G, H>

Source§

type EnumRef<'a> = E8<&'a A, &'a B, &'a C, &'a D, &'a E, &'a F, &'a G, &'a H> where Self: 'a

Source§

impl<A, B, C, D, E, F, G, H, I> TypeSet for (A, B, C, D, E, F, G, H, I)

Source§

type Variants = Cons<A, Cons<B, Cons<C, Cons<D, Cons<E, Cons<F, Cons<G, Cons<H, Cons<I, End>>>>>>>>>

Source§

type Enum = E9<A, B, C, D, E, F, G, H, I>

Source§

type EnumRef<'a> = E9<&'a A, &'a B, &'a C, &'a D, &'a E, &'a F, &'a G, &'a H, &'a I> where Self: 'a

Implementors§