Function get_attributes

Source
fn get_attributes(
    attr: &Attribute,
    ident: &str,
) -> Option<BTreeMap<String, Option<String>>>
Expand description

Collects all the attributes from a given field.