[][src]Trait rustc_ap_rustc_expand::base::MultiItemModifier

pub trait MultiItemModifier {
    fn expand(
        &self,
        ecx: &mut ExtCtxt,
        span: Span,
        meta_item: &MetaItem,
        item: Annotatable
    ) -> ExpandResult<Vec<Annotatable>, Annotatable>; }

Required methods

fn expand(
    &self,
    ecx: &mut ExtCtxt,
    span: Span,
    meta_item: &MetaItem,
    item: Annotatable
) -> ExpandResult<Vec<Annotatable>, Annotatable>

Loading content...

Implementors

impl MultiItemModifier for ProcMacroDerive[src]

impl<F> MultiItemModifier for F where
    F: Fn(&mut ExtCtxt, Span, &MetaItem, Annotatable) -> Vec<Annotatable>, 
[src]

Loading content...