[−][src]Trait syntax::ext::base::TTMacroExpander
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
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>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Implementors
impl TTMacroExpander for MacroRulesMacroExpander
[src]
impl TTMacroExpander for MacroRulesMacroExpander
ⓘImportant traits for Box<R>fn expand<'cx>(
&self,
cx: &'cx mut ExtCtxt,
sp: Span,
input: TokenStream
) -> Box<MacResult + 'cx>
[src]
ⓘImportant traits for Box<R>
fn expand<'cx>(
&self,
cx: &'cx mut ExtCtxt,
sp: Span,
input: TokenStream
) -> Box<MacResult + 'cx>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
impl<F> TTMacroExpander for F where
F: for<'cx> Fn(&'cx mut ExtCtxt, Span, &[TokenTree]) -> Box<MacResult + 'cx>,
[src]
impl<F> TTMacroExpander for F where
F: for<'cx> Fn(&'cx mut ExtCtxt, Span, &[TokenTree]) -> Box<MacResult + 'cx>,
ⓘImportant traits for Box<R>fn expand<'cx>(
&self,
ecx: &'cx mut ExtCtxt,
span: Span,
input: TokenStream
) -> Box<MacResult + 'cx>
[src]
ⓘImportant traits for Box<R>
fn expand<'cx>(
&self,
ecx: &'cx mut ExtCtxt,
span: Span,
input: TokenStream
) -> Box<MacResult + 'cx>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?