pub trait BangProcMacro {
    // Required method
    fn expand<'cx>(
        &self,
        ecx: &'cx mut ExtCtxt<'_>,
        span: Span,
        ts: TokenStream
    ) -> Result<TokenStream, ErrorGuaranteed>;
}

Required Methods§

source

fn expand<'cx>( &self, ecx: &'cx mut ExtCtxt<'_>, span: Span, ts: TokenStream ) -> Result<TokenStream, ErrorGuaranteed>

Implementors§