Trait maud::Render [] [src]

pub trait Render {
    fn render(&self, &mut Write) -> Result;
}

Represents a type that can be rendered as HTML.

Most of the time you should implement std::fmt::Display instead, which will be picked up by the blanket impl.

Required Methods

fn render(&self, &mut Write) -> Result

Implementors