Trait horrorshow::RenderOnce [] [src]

pub trait RenderOnce {
    fn render_once<'a>(self, tmpl: &mut TemplateBuilder<'a>) where Self: Sized;

    fn size_hint<'a>(&self) -> usize { ... }
}

Something that can be rendered once.

Required Methods

fn render_once<'a>(self, tmpl: &mut TemplateBuilder<'a>) where Self: Sized

Render this into a template builder.

Provided Methods

fn size_hint<'a>(&self) -> usize

Yields a hint at how many bytes this component use.

Implementors