table_to_html 0.4.0

The library provides a interface to convert a `tabled::Table` into a HTML table (`<table>`).
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::html::HtmlElement;

/// HtmlValue represents a children elements of an HTML element.
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub enum HtmlValue {
    /// Children elements.
    Elements(Vec<HtmlElement>),
    /// A string content.
    Content(String),
}