Trait horrorshow::RenderOnce
[−]
[src]
pub trait RenderOnce { fn render_once(self, tmpl: &mut TemplateBuffer)
where
Self: Sized; fn size_hint(&self) -> usize { ... } }
Something that can be rendered once.
Required Methods
fn render_once(self, tmpl: &mut TemplateBuffer) where
Self: Sized,
Self: Sized,
Render this into a template buffer.
Provided Methods
Implementations on Foreign Types
impl<'a, T: ?Sized> RenderOnce for &'a mut T where
T: RenderMut,
[src]
T: RenderMut,
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn size_hint(&self) -> usize
[src]
impl<'a, T: ?Sized> RenderOnce for &'a T where
T: Render,
[src]
T: Render,
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn size_hint(&self) -> usize
[src]
impl<'b> RenderOnce for Box<RenderBox + 'b>
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn size_hint(&self) -> usize
[src]
impl<'b> RenderOnce for Box<RenderBox + Send + 'b>
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn size_hint(&self) -> usize
[src]
impl<'b> RenderOnce for Box<RenderMut + 'b>
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn size_hint(&self) -> usize
[src]
impl<'b> RenderOnce for Box<RenderMut + Send + 'b>
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn size_hint(&self) -> usize
[src]
impl<'b> RenderOnce for Box<Render + 'b>
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn size_hint(&self) -> usize
[src]
impl<'b> RenderOnce for Box<Render + Send + 'b>
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn size_hint(&self) -> usize
[src]
impl<'a> RenderOnce for &'a str
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn size_hint(&self) -> usize
[src]
impl RenderOnce for String
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn size_hint(&self) -> usize
[src]
impl<T> RenderOnce for Option<T> where
T: RenderOnce,
[src]
T: RenderOnce,
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn size_hint(&self) -> usize
[src]
impl<T, E> RenderOnce for Result<T, E> where
T: RenderOnce,
E: Into<Box<Error + Send + Sync>>,
[src]
T: RenderOnce,
E: Into<Box<Error + Send + Sync>>,
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn size_hint(&self) -> usize
[src]
impl<'a> RenderOnce for Arguments<'a>
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn size_hint(&self) -> usize
[src]
impl RenderOnce for i8
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn size_hint(&self) -> usize
[src]
impl RenderOnce for i16
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn size_hint(&self) -> usize
[src]
impl RenderOnce for i32
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn size_hint(&self) -> usize
[src]
impl RenderOnce for i64
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn size_hint(&self) -> usize
[src]
impl RenderOnce for isize
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn size_hint(&self) -> usize
[src]
impl RenderOnce for u8
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn size_hint(&self) -> usize
[src]
impl RenderOnce for u16
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn size_hint(&self) -> usize
[src]
impl RenderOnce for u32
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn size_hint(&self) -> usize
[src]
impl RenderOnce for u64
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn size_hint(&self) -> usize
[src]
impl RenderOnce for usize
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn size_hint(&self) -> usize
[src]
impl RenderOnce for f32
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn size_hint(&self) -> usize
[src]
impl RenderOnce for f64
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn size_hint(&self) -> usize
[src]
impl RenderOnce for char
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn size_hint(&self) -> usize
[src]
Implementors
impl<F> RenderOnce for FnRenderer<F> where
F: FnOnce(&mut TemplateBuffer),impl<S> RenderOnce for Raw<S> where
S: AsRef<str>,