find_attr

Function find_attr 

Source
pub fn find_attr<T>(
    attrs: impl IntoIterator<Item = T>,
    ident: &Ident,
) -> Option<T>
where T: PathIsIdent,
Expand description

Finds an attribute from a list with ident ident