[][src]Trait sauron::Render

pub trait Render {
    fn render_with_indent(
        &self,
        buffer: &mut dyn Write,
        indent: usize
    ) -> Result<(), Error>; fn render(&self, buffer: &mut dyn Write) -> Result<(), Error> { ... } }

render node, elements to a writable buffer

Required methods

fn render_with_indent(
    &self,
    buffer: &mut dyn Write,
    indent: usize
) -> Result<(), Error>

render instance to a writable buffer with indention

Loading content...

Provided methods

fn render(&self, buffer: &mut dyn Write) -> Result<(), Error>

render the node to a writable buffer

Loading content...

Implementors

impl Render for AttributeValue[src]

impl<MSG> Render for Node<&'static str, &'static str, &'static str, AttributeValue, Event, MSG>[src]

impl<MSG> Render for Attribute<&'static str, &'static str, AttributeValue, Event, MSG>[src]

impl<MSG> Render for Element<&'static str, &'static str, &'static str, AttributeValue, Event, MSG>[src]

Loading content...