Struct horrorshow::FnRenderer
[−]
[src]
A template renderer. The html! {}
macro returns a FnRenderer
.
Methods
impl<F> FnRenderer<F> where
F: FnOnce(&mut TemplateBuffer),
[src]
[−]
impl<F> FnRenderer<F> where
F: FnOnce(&mut TemplateBuffer),
pub fn new(f: F) -> Self
[src]
pub fn new(f: F) -> Self
pub fn with_capacity(expected_size: usize, f: F) -> Self
[src]
pub fn with_capacity(expected_size: usize, f: F) -> Self
Trait Implementations
impl<F> RenderOnce for FnRenderer<F> where
F: FnOnce(&mut TemplateBuffer),
[src]
[+]
impl<F> RenderOnce for FnRenderer<F> where
F: FnOnce(&mut TemplateBuffer),
impl<F> RenderMut for FnRenderer<F> where
F: FnMut(&mut TemplateBuffer),
[src]
[+]
impl<F> RenderMut for FnRenderer<F> where
F: FnMut(&mut TemplateBuffer),
impl<F> Render for FnRenderer<F> where
F: Fn(&mut TemplateBuffer),
[src]
[+]
impl<F> Render for FnRenderer<F> where
F: Fn(&mut TemplateBuffer),
impl<F> Display for FnRenderer<F> where
FnRenderer<F>: Render,
[src]
[+]
impl<F> Display for FnRenderer<F> where
FnRenderer<F>: Render,
Auto Trait Implementations
impl<F> Send for FnRenderer<F> where
F: Send,
impl<F> Send for FnRenderer<F> where
F: Send,
impl<F> Sync for FnRenderer<F> where
F: Sync,
impl<F> Sync for FnRenderer<F> where
F: Sync,