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
Implementors
impl<'b> RenderOnce for Box<RenderBox + 'b>
impl<'b> RenderOnce for Box<Render + 'b>
impl<'b> RenderOnce for Box<RenderMut + 'b>
impl<F> RenderOnce for Renderer<F> where F: FnOnce(&mut TemplateBuilder)
impl<'a, T: ?Sized> RenderOnce for &'a mut T where T: RenderMut
impl<'a, T: ?Sized> RenderOnce for &'a T where T: Render
impl<S> RenderOnce for Raw<S> where S: AsRef<str>
impl<'a> RenderOnce for &'a str
impl RenderOnce for String