Trait handlebars::Renderable [] [src]

pub trait Renderable {
    fn render(
        &self,
        registry: &Registry,
        rc: &mut RenderContext
    ) -> Result<(), RenderError>; fn renders(
        &self,
        registry: &Registry,
        rc: &mut RenderContext
    ) -> Result<String, RenderError> { ... } }

Render trait

Required Methods

render into RenderContext's writer

Provided Methods

render into string

Implementors