Struct rustc_expand::proc_macro::ProcMacroDerive [−][src]
pub struct ProcMacroDerive {
pub client: Client<fn(_: TokenStream) -> TokenStream>,
}Fields
client: Client<fn(_: TokenStream) -> TokenStream>Trait Implementations
impl MultiItemModifier for ProcMacroDerive[src]
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>