pub trait Renderable: Send + Sync + Debug {
    fn render_to(
        &self,
        writer: &mut dyn Write,
        runtime: &dyn Runtime
    ) -> Result<()>; fn render(&self, runtime: &dyn Runtime) -> Result<String> { ... } }
Expand description

Any object (tag/block) that can be rendered by liquid must implement this trait.

Required methods

Renders the Renderable instance given a Liquid runtime.

Provided methods

Renders the Renderable instance given a Liquid runtime.

Implementors