Expand description
Map, an immutable hash map whose lookups run in the FFI runtime.
Converting an Any into a Map<K, V> checks every entry; when an entry
is not a K/V as is, the entries are converted one by one into a new map.
Structsยง
- Iter
- Iterator over
(key, value)pairs, created byMap::iter. - Keys
- Iterator over keys, created by
Map::keys. - Map
- An immutable, reference-counted map from
KtoV, passed across languages asffi.Map. - MapObj
- The object behind a
Map. The header fields are laid out as the C++MapBaseObj, soMap::lenreadssizewithout an FFI call; the storagedatapoints to stays opaque. - Values
- Iterator over values, created by
Map::values.