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]
impl<'a, T: ?Sized> RenderOnce for &'a mut T where
T: RenderMut,
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
fn size_hint(&self) -> usize
[src]
fn size_hint(&self) -> usize
impl<'a, T: ?Sized> RenderOnce for &'a T where
T: Render,
[src]
impl<'a, T: ?Sized> RenderOnce for &'a T where
T: Render,
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
fn size_hint(&self) -> usize
[src]
fn size_hint(&self) -> usize
impl<'b> RenderOnce for Box<RenderBox + 'b>
[src]
impl<'b> RenderOnce for Box<RenderBox + 'b>
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
fn size_hint(&self) -> usize
[src]
fn size_hint(&self) -> usize
impl<'b> RenderOnce for Box<RenderBox + Send + 'b>
[src]
impl<'b> RenderOnce for Box<RenderBox + Send + 'b>
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
fn size_hint(&self) -> usize
[src]
fn size_hint(&self) -> usize
impl<'b> RenderOnce for Box<RenderMut + 'b>
[src]
impl<'b> RenderOnce for Box<RenderMut + 'b>
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
fn size_hint(&self) -> usize
[src]
fn size_hint(&self) -> usize
impl<'b> RenderOnce for Box<RenderMut + Send + 'b>
[src]
impl<'b> RenderOnce for Box<RenderMut + Send + 'b>
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
fn size_hint(&self) -> usize
[src]
fn size_hint(&self) -> usize
impl<'b> RenderOnce for Box<Render + 'b>
[src]
impl<'b> RenderOnce for Box<Render + 'b>
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
fn size_hint(&self) -> usize
[src]
fn size_hint(&self) -> usize
impl<'b> RenderOnce for Box<Render + Send + 'b>
[src]
impl<'b> RenderOnce for Box<Render + Send + 'b>
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
fn size_hint(&self) -> usize
[src]
fn size_hint(&self) -> usize
impl<'a> RenderOnce for &'a str
[src]
impl<'a> RenderOnce for &'a str
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
fn size_hint(&self) -> usize
[src]
fn size_hint(&self) -> usize
impl RenderOnce for String
[src]
impl RenderOnce for String
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
fn size_hint(&self) -> usize
[src]
fn size_hint(&self) -> usize
impl<T> RenderOnce for Option<T> where
T: RenderOnce,
[src]
impl<T> RenderOnce for Option<T> where
T: RenderOnce,
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
fn size_hint(&self) -> usize
[src]
fn size_hint(&self) -> usize
impl<T, E> RenderOnce for Result<T, E> where
T: RenderOnce,
E: Into<Box<Error + Send + Sync>>,
[src]
impl<T, E> RenderOnce for Result<T, E> where
T: RenderOnce,
E: Into<Box<Error + Send + Sync>>,
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
fn size_hint(&self) -> usize
[src]
fn size_hint(&self) -> usize
impl<'a> RenderOnce for Arguments<'a>
[src]
impl<'a> RenderOnce for Arguments<'a>
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
fn size_hint(&self) -> usize
[src]
fn size_hint(&self) -> usize
impl RenderOnce for i8
[src]
impl RenderOnce for i8
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
fn size_hint(&self) -> usize
[src]
fn size_hint(&self) -> usize
impl RenderOnce for i16
[src]
impl RenderOnce for i16
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
fn size_hint(&self) -> usize
[src]
fn size_hint(&self) -> usize
impl RenderOnce for i32
[src]
impl RenderOnce for i32
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
fn size_hint(&self) -> usize
[src]
fn size_hint(&self) -> usize
impl RenderOnce for i64
[src]
impl RenderOnce for i64
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
fn size_hint(&self) -> usize
[src]
fn size_hint(&self) -> usize
impl RenderOnce for isize
[src]
impl RenderOnce for isize
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
fn size_hint(&self) -> usize
[src]
fn size_hint(&self) -> usize
impl RenderOnce for u8
[src]
impl RenderOnce for u8
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
fn size_hint(&self) -> usize
[src]
fn size_hint(&self) -> usize
impl RenderOnce for u16
[src]
impl RenderOnce for u16
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
fn size_hint(&self) -> usize
[src]
fn size_hint(&self) -> usize
impl RenderOnce for u32
[src]
impl RenderOnce for u32
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
fn size_hint(&self) -> usize
[src]
fn size_hint(&self) -> usize
impl RenderOnce for u64
[src]
impl RenderOnce for u64
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
fn size_hint(&self) -> usize
[src]
fn size_hint(&self) -> usize
impl RenderOnce for usize
[src]
impl RenderOnce for usize
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
fn size_hint(&self) -> usize
[src]
fn size_hint(&self) -> usize
impl RenderOnce for f32
[src]
impl RenderOnce for f32
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
fn size_hint(&self) -> usize
[src]
fn size_hint(&self) -> usize
impl RenderOnce for f64
[src]
impl RenderOnce for f64
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
fn size_hint(&self) -> usize
[src]
fn size_hint(&self) -> usize
impl RenderOnce for char
[src]
impl RenderOnce for char
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
fn render_once(self, tmpl: &mut TemplateBuffer)
fn size_hint(&self) -> usize
[src]
fn size_hint(&self) -> usize
Implementors
impl<F> RenderOnce for FnRenderer<F> where
F: FnOnce(&mut TemplateBuffer),impl<S> RenderOnce for Raw<S> where
S: AsRef<str>,