Attributable

Trait Attributable 

Source
pub trait Attributable {
    // Required methods
    fn attributes(&self) -> Vec<&Attribute>;
    fn all_attributes(&self) -> Vec<Vec<&Attribute>>;
}

Required Methods§

Source

fn attributes(&self) -> Vec<&Attribute>

Returns the attributes of the element.

Source

fn all_attributes(&self) -> Vec<Vec<&Attribute>>

Returns all the attributes of the element and its parents.

Implementors§