Function somedoc::write::html::writer[][src]

pub fn writer<W: Write>(doc: &Document, w: &mut W) -> Result<()>

Implementation of the writer function for HTML.

While this can be called directly it is most often used by calling either model::write_document or model::write_document_to_string.