Function cssparser_macros::phf_map [] [src]

pub fn phf_map(input: TokenStream) -> TokenStream

On struct $Name($ValueType), add a new static method fn map() -> &'static ::phf::Map<&'static str, $ValueType>. The map’s content is given as: #[cssparser__phf_map__kv_pairs(key = "…", value = "…", key = "…", value = "…")]. Keys are ASCII-lowercased.