[][src]Struct horrorshow::FnRenderer

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]

pub fn new(f: F) -> Self[src]

pub fn with_capacity(expected_size: usize, f: F) -> Self[src]

Trait Implementations

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

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

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

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

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]