[][src]Trait syntax::ext::base::IdentMacroExpander

pub trait IdentMacroExpander {
    fn expand<'cx>(
        &self,
        cx: &'cx mut ExtCtxt,
        sp: Span,
        ident: Ident,
        token_tree: Vec<TokenTree>
    ) -> 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?

Required Methods

Important traits for Box<R>

🔬 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<F> IdentMacroExpander for F where
    F: for<'cx> Fn(&'cx mut ExtCtxt, Span, Ident, Vec<TokenTree>) -> Box<MacResult + 'cx>, 
[src]

Important traits for Box<R>

🔬 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?