Trait liquid_core::Renderable [−][src]
Any object (tag/block) that can be rendered by liquid must implement this trait.
Required methods
fn render_to(
&self,
writer: &mut dyn Write,
runtime: &mut Runtime<'_>
) -> Result<()>
[src]
&self,
writer: &mut dyn Write,
runtime: &mut Runtime<'_>
) -> Result<()>
Renders the Renderable instance given a Liquid runtime.
Provided methods
fn render(&self, runtime: &mut Runtime<'_>) -> Result<String>
[src]
Renders the Renderable instance given a Liquid runtime.