[−][src]Trait rustc_ap_rustc_expand::base::MultiItemModifier
Required methods
fn expand(
&self,
ecx: &mut ExtCtxt,
span: Span,
meta_item: &MetaItem,
item: Annotatable
) -> ExpandResult<Vec<Annotatable>, Annotatable>
&self,
ecx: &mut ExtCtxt,
span: Span,
meta_item: &MetaItem,
item: Annotatable
) -> ExpandResult<Vec<Annotatable>, Annotatable>
Implementors
impl MultiItemModifier for ProcMacroDerive
[src]
fn expand(
&self,
ecx: &mut ExtCtxt,
span: Span,
_meta_item: &MetaItem,
item: Annotatable
) -> ExpandResult<Vec<Annotatable>, Annotatable>
[src]
&self,
ecx: &mut ExtCtxt,
span: Span,
_meta_item: &MetaItem,
item: Annotatable
) -> ExpandResult<Vec<Annotatable>, Annotatable>
impl<F> MultiItemModifier for F where
F: Fn(&mut ExtCtxt, Span, &MetaItem, Annotatable) -> Vec<Annotatable>,
[src]
F: Fn(&mut ExtCtxt, Span, &MetaItem, Annotatable) -> Vec<Annotatable>,
fn expand(
&self,
ecx: &mut ExtCtxt,
span: Span,
meta_item: &MetaItem,
item: Annotatable
) -> ExpandResult<Vec<Annotatable>, Annotatable>
[src]
&self,
ecx: &mut ExtCtxt,
span: Span,
meta_item: &MetaItem,
item: Annotatable
) -> ExpandResult<Vec<Annotatable>, Annotatable>