Trait ContentRenderer

Source
pub trait ContentRenderer {
    // Required method
    fn render<'life0, 'life1, 'async_trait>(
        &'life0 self,
        data: &'life1 mut LiquidGlobals,
        partials: Vec<Partial>,
    ) -> Pin<Box<dyn Future<Output = Result<WritableFile, BuildError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn render<'life0, 'life1, 'async_trait>( &'life0 self, data: &'life1 mut LiquidGlobals, partials: Vec<Partial>, ) -> Pin<Box<dyn Future<Output = Result<WritableFile, BuildError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§