pub trait Renameable: Sized {
    type Expr: BorrowMut<OwnedExpr<Symbol>>;

    // Required method
    fn rename<'life0, 'life1, 'life2, 'life3, 'life4, 'life5, 'async_trait>(
        self,
        compiler: &'life0 mut ModuleCompiler<'life1, 'life2>,
        thread: &'life3 Thread,
        file: &'life4 str,
        expr_str: &'life5 str
    ) -> Pin<Box<dyn Future<Output = SalvageResult<Renamed<Self::Expr>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait,
             'life4: 'async_trait,
             'life5: 'async_trait;
}

Required Associated Types§

Required Methods§

source

fn rename<'life0, 'life1, 'life2, 'life3, 'life4, 'life5, 'async_trait>( self, compiler: &'life0 mut ModuleCompiler<'life1, 'life2>, thread: &'life3 Thread, file: &'life4 str, expr_str: &'life5 str ) -> Pin<Box<dyn Future<Output = SalvageResult<Renamed<Self::Expr>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, 'life4: 'async_trait, 'life5: 'async_trait,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<E> Renameable for MacroValue<E>

§

type Expr = E

source§

impl<T> Renameable for T
where T: MacroExpandable + Send, T::Expr: Send,

§

type Expr = <T as MacroExpandable>::Expr