Trait horrorshow::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]
impl<'b> Render for Box<Render + 'b>
fn render<'a>(&self, tmpl: &mut TemplateBuffer<'a>)
[src]
fn render<'a>(&self, tmpl: &mut TemplateBuffer<'a>)
impl<'b> Render for Box<Render + Send + 'b>
[src]
impl<'b> Render for Box<Render + Send + 'b>
fn render<'a>(&self, tmpl: &mut TemplateBuffer<'a>)
[src]
fn render<'a>(&self, tmpl: &mut TemplateBuffer<'a>)
impl<'a> Render for &'a str
[src]
impl<'a> Render for &'a str
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
impl Render for String
[src]
impl Render for String
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
impl<T> Render for Option<T> where
T: Render,
[src]
impl<T> Render for Option<T> where
T: Render,
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
impl<'a> Render for Arguments<'a>
[src]
impl<'a> Render for Arguments<'a>
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
impl Render for i8
[src]
impl Render for i8
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
impl Render for i16
[src]
impl Render for i16
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
impl Render for i32
[src]
impl Render for i32
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
impl Render for i64
[src]
impl Render for i64
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
impl Render for isize
[src]
impl Render for isize
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
impl Render for u8
[src]
impl Render for u8
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
impl Render for u16
[src]
impl Render for u16
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
impl Render for u32
[src]
impl Render for u32
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
impl Render for u64
[src]
impl Render for u64
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
impl Render for usize
[src]
impl Render for usize
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
impl Render for f32
[src]
impl Render for f32
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
impl Render for f64
[src]
impl Render for f64
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
impl Render for char
[src]
impl Render for char
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
fn render(&self, tmpl: &mut TemplateBuffer)
Implementors
impl<F> Render for FnRenderer<F> where
F: Fn(&mut TemplateBuffer),impl<S> Render for Raw<S> where
S: AsRef<str>,