lewp-html 0.2.0

Straightforward HTML document building. Write your HTML with full algorithmic power instead of creating messy and confusing templates that contain typing errors.
Documentation
1
2
3
4
5
6
7
/// Parameter for the script element.
pub enum Script<'a> {
    /// Represents a script pulled by the src attribute.
    Src(&'a str),
    /// Represents an inline script.
    Inline(&'a str),
}