Trait horrorshow::prelude::Render
[−]
[src]
pub trait Render: RenderMut { fn render<'a>(&self, tmpl: &mut TemplateBuffer<'a>); }
Something that can be rendered by reference.
Required Methods
fn render<'a>(&self, tmpl: &mut TemplateBuffer<'a>)
Render this into a template buffer.
Implementations on Foreign Types
impl<'b> Render for Box<Render + 'b>
[src]
fn render<'a>(&self, tmpl: &mut TemplateBuffer<'a>)
[src]
impl<'b> Render for Box<Render + Send + 'b>
[src]
fn render<'a>(&self, tmpl: &mut TemplateBuffer<'a>)
[src]
impl<'a> Render for &'a str
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
impl Render for String
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
impl<T> Render for Option<T> where
T: Render,
[src]
T: Render,
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
impl<'a> Render for Arguments<'a>
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
impl Render for i8
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
impl Render for i16
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
impl Render for i32
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
impl Render for i64
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
impl Render for isize
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
impl Render for u8
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
impl Render for u16
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
impl Render for u32
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
impl Render for u64
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
impl Render for usize
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
impl Render for f32
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
impl Render for f64
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
impl Render for char
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
Implementors
impl<F> Render for FnRenderer<F> where
F: Fn(&mut TemplateBuffer),impl<S> Render for Raw<S> where
S: AsRef<str>,