Trait rune::ToTokens [−][src]
pub trait ToTokens: Sized { fn to_tokens(&self, context: &MacroContext, stream: &mut TokenStream); }
Expand description
Trait for things that can be turned into tokens.
Required methods
fn to_tokens(&self, context: &MacroContext, stream: &mut TokenStream)
fn to_tokens(&self, context: &MacroContext, stream: &mut TokenStream)
Turn the current item into tokens.