[][src]Trait gluon::compiler_pipeline::MacroExpandable

pub trait MacroExpandable {
    type Expr: BorrowMut<OwnedExpr<Symbol>>;
#[must_use]    fn expand_macro<'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<MacroValue<Self::Expr>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        'life4: 'async_trait,
        'life5: 'async_trait,
        Self: 'async_trait
; }

Associated Types

Loading content...

Required methods

#[must_use]fn expand_macro<'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<MacroValue<Self::Expr>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    'life2: 'async_trait,
    'life3: 'async_trait,
    'life4: 'async_trait,
    'life5: 'async_trait,
    Self: 'async_trait, 

Loading content...

Implementations on Foreign Types

impl<'s> MacroExpandable for &'s str[src]

type Expr = OwnedExpr<Symbol>

impl<'s> MacroExpandable for &'s mut OwnedExpr<Symbol>[src]

type Expr = &'s mut OwnedExpr<Symbol>

impl MacroExpandable for OwnedExpr<Symbol>[src]

type Expr = OwnedExpr<Symbol>

Loading content...

Implementors

Loading content...