Trait rocket_dyn_templates::handlebars::Evaluable

source ·
pub trait Evaluable {
    // Required method
    fn eval<'reg, 'rc>(
        &'rc self,
        registry: &'reg Registry<'reg>,
        context: &'rc Context,
        rc: &mut RenderContext<'reg, 'rc>,
    ) -> Result<(), RenderError>
       where 'reg: 'rc;
}
Expand description

Evaluate decorator

Required Methods§

source

fn eval<'reg, 'rc>( &'rc self, registry: &'reg Registry<'reg>, context: &'rc Context, rc: &mut RenderContext<'reg, 'rc>, ) -> Result<(), RenderError>
where 'reg: 'rc,

Implementors§