Insert the maps with the given key. It will override the old maps with the same id.
(&mut self, key: K, items: Vec<T>)
| 123 | /// Insert the maps with the given key. |
| 124 | /// It will override the old maps with the same id. |
| 125 | fn insert_array<K: AsRef<str>, T: Into<AnyMap>>(&mut self, key: K, items: Vec<T>) { |
| 126 | let key = key.as_ref(); |
| 127 | let array = items_to_lib_0_array(items); |
| 128 | self.mut_value().insert(key.to_string(), array); |
| 129 | } |
| 130 | |
| 131 | /// Extends the maps with the given key. |
| 132 | fn extend_with_array<K: AsRef<str>, T: Into<AnyMap>>(&mut self, key: K, items: Vec<T>) { |
no test coverage detected