AttributeProvider

Trait AttributeProvider 

Source
pub trait AttributeProvider {
    // Required method
    fn get_attr(
        &self,
        attr: &LocalName,
        namespace: &Namespace,
    ) -> Option<String>;
}
Expand description

The attribute provider trait

Required Methods§

Source

fn get_attr(&self, attr: &LocalName, namespace: &Namespace) -> Option<String>

Return the value of the given custom attibute if it exists.

Implementors§