Struct horrorshow::FnRenderer [] [src]

pub struct FnRenderer<F> { /* fields omitted */ }

A template renderer. The html! {} macro returns a FnRenderer.

Methods

impl<F> FnRenderer<F> where
    F: FnOnce(&mut TemplateBuffer), 
[src]

Trait Implementations

impl<F> RenderOnce for FnRenderer<F> where
    F: FnOnce(&mut TemplateBuffer), 
[src]

Render this into a template buffer.

Returns a (very) rough estimate of how many bytes this Render will use.

impl<F> RenderMut for FnRenderer<F> where
    F: FnMut(&mut TemplateBuffer), 
[src]

Render this into a template buffer.

impl<F> Render for FnRenderer<F> where
    F: Fn(&mut TemplateBuffer), 
[src]

Render this into a template buffer.

impl<F> Display for FnRenderer<F> where
    FnRenderer<F>: Render
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<F> Send for FnRenderer<F> where
    F: Send

impl<F> Sync for FnRenderer<F> where
    F: Sync