Skip to main content

names_attribute

Function names_attribute 

Source
pub fn names_attribute(text: &str, name: &str) -> bool
Expand description

Whether text binds the attribute name: the name as a whole token, bare or quoted, followed by =.