pub fn parse_attribute_to_meta_list(attr: &Attribute) -> Result<MetaList, Error>
Expand description

Try to parse an attribute into a meta list. Path-type meta values are accepted and returned as empty lists with their passed-in path. Name-value meta values and non-meta attributes will cause errors to be returned.