Parse attributes from a string.
string |
the input string |
attr_separator |
the attribute separator character |
key_value_separator |
character separating key and values |
ignore_unknown |
whether unknown attributes should be ignored |
spec |
the attribute format specifiers |
a GenericSet mapping attribute names to Variant values. Warning: the variant are still floating references, owned by the hash table. If you take a reference, ensure to sink the one of the hash table first. |