Struct rustc_expand::proc_macro::AttrProcMacro [−][src]
pub struct AttrProcMacro {
pub client: Client<fn(_: TokenStream, _: TokenStream) -> TokenStream>,
}Fields
client: Client<fn(_: TokenStream, _: TokenStream) -> TokenStream>Trait Implementations
impl AttrProcMacro for AttrProcMacro[src]
impl AttrProcMacro for AttrProcMacro[src]fn expand<'cx>(
&self,
ecx: &'cx mut ExtCtxt<'_>,
span: Span,
annotation: TokenStream,
annotated: TokenStream
) -> Result<TokenStream, ErrorReported>[src]
&self,
ecx: &'cx mut ExtCtxt<'_>,
span: Span,
annotation: TokenStream,
annotated: TokenStream
) -> Result<TokenStream, ErrorReported>