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

name: String value: String

Trait Implementations

impl PartialEq for HTMLTagAttribute
[src]

fn eq(&self, __arg_0: &HTMLTagAttribute) -> bool

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

fn ne(&self, __arg_0: &HTMLTagAttribute) -> bool

This method tests for !=.

impl Debug for HTMLTagAttribute
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.