getTagAttr

Function getTagAttr 

Source
pub fn getTagAttr<T: FromStr>(
    tag: &BytesStart<'_>,
    attr: &str,
) -> Result<Option<T>, Error>
Expand description

Return the value of the attribute attr from the opening tag tag.