Struct html5ever_ext::Attribute
[−]
pub struct Attribute { pub name: QualName, pub value: Tendril<UTF8, NonAtomic>, }
A tag attribute.
The namespace on the attribute name is almost always ns!(""). The tokenizer creates all attributes this way, but the tree builder will adjust certain attribute names inside foreign content (MathML, SVG).
Fields
name: QualName
value: Tendril<UTF8, NonAtomic>
Trait Implementations
impl Ord for Attribute
impl Clone for Attribute
fn clone(&self) -> Attribute
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for Attribute
impl PartialEq<Attribute> for Attribute
impl Debug for Attribute
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.