macro_rules! b_tree_map {
() => { ... };
($($key:expr => $val:expr),*) => { ... };
}
Expand description
A macro to create a new BTreeMap
, providing two usage options:
b_tree_map!()
- Creates an emptyBTreeMap
.b_tree_map!(key1 => value1, key2 => value2, ...)
- Creates aBTreeMap
containing the specified key-value pairs.