Skip to main content

attribute_value

Function attribute_value 

Source
pub fn attribute_value<'a>(text: &'a str, name: &str) -> Option<&'a str>
Expand description

The value of the attribute name where text binds it, as name = <value>; or through a path name.<rest> = <value>;: the text after the = up to the ; that closes the binding.