Macro assoc_list

Source
macro_rules! assoc_list {
    ($(($key: expr, $value: expr)),* $(,)?) => { ... };
}
Expand description

Create a new AssocList, filled with the arguments.

The capacity will match the number of passed key-value pairs (see count).

When there are duplicate keys, the resulting AssocList will contain the later value.