Function style::custom_properties::parse_name [] [src]

pub fn parse_name(s: &str) -> Result<&str, ()>

Parse a custom property name.

https://drafts.csswg.org/css-variables/#typedef-custom-property-name