[][src]Trait genco::RegisterTokens

pub trait RegisterTokens<L> where
    L: Lang
{ fn register_tokens(self, tokens: &mut Tokens<L>); }

Helper trait to convert something into a tokens registration.

Required methods

fn register_tokens(self, tokens: &mut Tokens<L>)

Convert the type into tokens.

Loading content...

Implementations on Foreign Types

impl<L, A> RegisterTokens<L> for (A,) where
    A: Into<LangBox<L>>,
    L: Lang
[src]

impl<L, A, B> RegisterTokens<L> for (A, B) where
    A: Into<LangBox<L>>,
    B: Into<LangBox<L>>,
    L: Lang
[src]

impl<L, A, B, C> RegisterTokens<L> for (A, B, C) where
    A: Into<LangBox<L>>,
    B: Into<LangBox<L>>,
    C: Into<LangBox<L>>,
    L: Lang
[src]

impl<L, A, B, C, D> RegisterTokens<L> for (A, B, C, D) where
    A: Into<LangBox<L>>,
    B: Into<LangBox<L>>,
    C: Into<LangBox<L>>,
    D: Into<LangBox<L>>,
    L: Lang
[src]

impl<L, A, B, C, D, E> RegisterTokens<L> for (A, B, C, D, E) where
    A: Into<LangBox<L>>,
    B: Into<LangBox<L>>,
    C: Into<LangBox<L>>,
    D: Into<LangBox<L>>,
    E: Into<LangBox<L>>,
    L: Lang
[src]

impl<L, A, B, C, D, E, F> RegisterTokens<L> for (A, B, C, D, E, F) where
    A: Into<LangBox<L>>,
    B: Into<LangBox<L>>,
    C: Into<LangBox<L>>,
    D: Into<LangBox<L>>,
    E: Into<LangBox<L>>,
    F: Into<LangBox<L>>,
    L: Lang
[src]

impl<L, A, B, C, D, E, F, G> RegisterTokens<L> for (A, B, C, D, E, F, G) where
    A: Into<LangBox<L>>,
    B: Into<LangBox<L>>,
    C: Into<LangBox<L>>,
    D: Into<LangBox<L>>,
    E: Into<LangBox<L>>,
    F: Into<LangBox<L>>,
    G: Into<LangBox<L>>,
    L: Lang
[src]

impl<L, A, B, C, D, E, F, G, H> RegisterTokens<L> for (A, B, C, D, E, F, G, H) where
    A: Into<LangBox<L>>,
    B: Into<LangBox<L>>,
    C: Into<LangBox<L>>,
    D: Into<LangBox<L>>,
    E: Into<LangBox<L>>,
    F: Into<LangBox<L>>,
    G: Into<LangBox<L>>,
    H: Into<LangBox<L>>,
    L: Lang
[src]

Loading content...

Implementors

impl<T, L> RegisterTokens<L> for T where
    T: Into<LangBox<L>>,
    L: Lang
[src]

Loading content...