Struct htmlstream::HTMLTagAttribute [] [src]

pub struct HTMLTagAttribute {
    pub name: String,
    pub value: String,
}

The tag attribute

Examples

let attr = HTMLTagAttribute {
    name: "href".to_string(),
    value: "#".to_string(),
};

Fields

Trait Implementations

impl Debug for HTMLTagAttribute
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for HTMLTagAttribute
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.