Trait write_html::AsHtml 
source · pub trait AsHtml {
    type Html: Html;
    type HtmlText: Html;
    // Required methods
    fn as_html(self) -> Self::Html;
    fn as_html_text(self) -> Self::HtmlText;
}Expand description
Something that can be converted into HTML.
TODO better doc
Required Associated Types§
Required Methods§
sourcefn as_html_text(self) -> Self::HtmlText
 
fn as_html_text(self) -> Self::HtmlText
Converts self into HTML text.