Struct horrorshow::prelude::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]

[src]

[src]

Trait Implementations

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

[src]

Render this into a template buffer.

[src]

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]

[src]

Render this into a template buffer.

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

[src]

Render this into a template buffer.

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

[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