Trait liquid_interpreter::Renderable[][src]

pub trait Renderable: Send + Sync + Debug {
    fn render_to(&self, writer: &mut Write, context: &mut Context) -> Result<()>;

    fn render(&self, context: &mut Context) -> Result<String> { ... }
}

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

Required Methods

Renders the Renderable instance given a Liquid context.

Provided Methods

Renders the Renderable instance given a Liquid context.

Implementors