Skip to main content

HtmlWriter

Trait HtmlWriter 

Source
pub trait HtmlWriter: Send + Sync {
    // Required method
    fn write(&self, tree: &Tree<'_>) -> Option<String>;
}
Expand description

Writes HTML straight from a tree, or None to have the stages run as declared.

Required Methods§

Source

fn write(&self, tree: &Tree<'_>) -> Option<String>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§