[][src]Trait genco::js::TypeArgs

pub trait TypeArgs {
    fn into_args(self) -> Vec<TypeBox>;
}

Helper trait for things that can be turned into generic arguments.

Required methods

fn into_args(self) -> Vec<TypeBox>

Convert the given type into a collection of arguments.

Loading content...

Implementations on Foreign Types

impl<A> TypeArgs for (A,) where
    A: 'static + TypeTrait
[src]

impl<A, B> TypeArgs for (A, B) where
    A: 'static + TypeTrait,
    B: 'static + TypeTrait
[src]

impl<A, B, C> TypeArgs for (A, B, C) where
    A: 'static + TypeTrait,
    B: 'static + TypeTrait,
    C: 'static + TypeTrait
[src]

impl<A, B, C, D> TypeArgs for (A, B, C, D) where
    A: 'static + TypeTrait,
    B: 'static + TypeTrait,
    C: 'static + TypeTrait,
    D: 'static + TypeTrait
[src]

impl<A, B, C, D, E> TypeArgs for (A, B, C, D, E) where
    A: 'static + TypeTrait,
    B: 'static + TypeTrait,
    C: 'static + TypeTrait,
    D: 'static + TypeTrait,
    E: 'static + TypeTrait
[src]

Loading content...

Implementors

impl<T> TypeArgs for T where
    T: 'static + TypeTrait
[src]

Loading content...