Trait syntax::ext::base::TTMacroExpander [−][src]
pub trait TTMacroExpander { fn expand<'cx>(
&self,
ecx: &'cx mut ExtCtxt,
span: Span,
input: TokenStream
) -> Box<MacResult + 'cx>; }
Represents a thing that maps token trees to Macro Results
Required Methods
ⓘImportant traits for Box<R>
fn expand<'cx>(
&self,
ecx: &'cx mut ExtCtxt,
span: Span,
input: TokenStream
) -> Box<MacResult + 'cx>
&self,
ecx: &'cx mut ExtCtxt,
span: Span,
input: TokenStream
) -> Box<MacResult + 'cx>