pub trait Render {
    fn render_with_indent(
        &self,
        buffer: &mut dyn Write,
        indent: usize,
        compressed: bool
    ) -> Result; fn render(&self, buffer: &mut dyn Write) -> Result { ... } fn render_compressed(&self, buffer: &mut dyn Write) -> Result { ... } fn render_to_string(&self) -> String { ... } fn render_to_string_pretty(&self) -> String { ... } fn maybe_indent(
        &self,
        buffer: &mut dyn Write,
        indent: usize,
        compressed: bool
    ) -> Result { ... } }
Expand description

render node, elements to a writable buffer

Required Methods

render instance to a writable buffer with indention

Provided Methods

render the node to a writable buffer

no new_lines, no indents

render compressed html to string

render to string with nice indention

add an indent if applicable

Implementors