rocket_dyn_templates::handlebars

Trait 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§