pub trait ToTokensSubst {
    fn to_tokens_subst(&self, tokens: &mut TokenStream, subst: &TokenStream);
}
Expand description

Tokenization trait with substitution

This is similar to quote::ToTokens, but replaces instances of trait as a parameter bound with subst.

Required Methods

Write self to the given TokenStream

Implementations on Foreign Types

Implementors