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
pub fn find_attr<T>(
attrs: impl IntoIterator<Item = T>,
ident: &Ident
) -> Option<T>where
T: PathIsIdent,
Finds an attribute from a list with ident ident