Skip to main content

has_attribute

Function has_attribute 

fn has_attribute(attrs: &[Attribute], name: &str) -> bool
Expand description

Does this item carry #[<name>]?