pub trait Attributable {
// Required methods
fn attributes(&self) -> Vec<&Attribute>;
fn all_attributes(&self) -> Vec<Vec<&Attribute>>;
}Required Methods§
Sourcefn attributes(&self) -> Vec<&Attribute>
fn attributes(&self) -> Vec<&Attribute>
Returns the attributes of the element.
Sourcefn all_attributes(&self) -> Vec<Vec<&Attribute>>
fn all_attributes(&self) -> Vec<Vec<&Attribute>>
Returns all the attributes of the element and its parents.