pub fn has_derive(attrs: &[Attribute], name: &str) -> boolExpand description
Returns true if the attribute list contains #[derive(name)]
or #[derive(miniextendr_api::name)] for the given derive name
(e.g. "ExternalPtr", "Altrep", "Vctrs").