[−][src]Trait handlebars::Renderable
Render trait
Required methods
fn render<'reg: 'rc, 'rc>(
&'reg self,
registry: &'reg Registry,
context: &'rc Context,
rc: &'rc mut RenderContext<'reg>,
out: &mut dyn Output
) -> Result<(), RenderError>
&'reg self,
registry: &'reg Registry,
context: &'rc Context,
rc: &'rc mut RenderContext<'reg>,
out: &mut dyn Output
) -> Result<(), RenderError>
render into RenderContext's writer
Provided methods
fn renders<'reg: 'rc, 'rc>(
&'reg self,
registry: &'reg Registry,
ctx: &'rc Context,
rc: &'rc mut RenderContext<'reg>
) -> Result<String, RenderError>
&'reg self,
registry: &'reg Registry,
ctx: &'rc Context,
rc: &'rc mut RenderContext<'reg>
) -> Result<String, RenderError>
render into string
Implementors
impl Renderable for TemplateElement
[src]
fn render<'reg: 'rc, 'rc>(
&'reg self,
registry: &'reg Registry,
ctx: &'rc Context,
rc: &mut RenderContext<'reg>,
out: &mut dyn Output
) -> Result<(), RenderError>
[src]
&'reg self,
registry: &'reg Registry,
ctx: &'rc Context,
rc: &mut RenderContext<'reg>,
out: &mut dyn Output
) -> Result<(), RenderError>
impl Renderable for Template
[src]
fn render<'reg: 'rc, 'rc>(
&'reg self,
registry: &'reg Registry,
ctx: &'rc Context,
rc: &mut RenderContext<'reg>,
out: &mut dyn Output
) -> Result<(), RenderError>
[src]
&'reg self,
registry: &'reg Registry,
ctx: &'rc Context,
rc: &mut RenderContext<'reg>,
out: &mut dyn Output
) -> Result<(), RenderError>