[−][src]Trait rustc_expand::base::TTMacroExpander
Represents a thing that maps token trees to Macro Results
Required methods
pub fn expand<'cx>(
&self,
ecx: &'cx mut ExtCtxt<'_>,
span: Span,
input: TokenStream
) -> Box<dyn MacResult + 'cx>[src]
&self,
ecx: &'cx mut ExtCtxt<'_>,
span: Span,
input: TokenStream
) -> Box<dyn MacResult + 'cx>
Implementors
impl TTMacroExpander for MacroRulesMacroExpander[src]
pub fn expand<'cx>(
&self,
cx: &'cx mut ExtCtxt<'_>,
sp: Span,
input: TokenStream
) -> Box<dyn MacResult + 'cx>[src]
&self,
cx: &'cx mut ExtCtxt<'_>,
sp: Span,
input: TokenStream
) -> Box<dyn MacResult + 'cx>
impl<F> TTMacroExpander for F where
F: for<'cx> Fn(&'cx mut ExtCtxt<'_>, Span, TokenStream) -> Box<dyn MacResult + 'cx>, [src]
F: for<'cx> Fn(&'cx mut ExtCtxt<'_>, Span, TokenStream) -> Box<dyn MacResult + 'cx>,