Expand description
A map as XTypes 1.3 §7.5.1.3.6 binds it where a language has no mapping of its own: “the
language binding for map types shall be based on the equivalent IDL definition given in
7.4.1.1.4”, sequence<MapEntry<K, V>> of a structure with a member key and a member
value.
MapEntry is that structure, and a Vec<MapEntry<K, V>> is the sequence. WireMap is
what the writer takes of a map: the entries of a BTreeMap (ascending by key), of such a
Vec in the order it holds them, or of AscendingKey over it, which is the order
zerodds_ast_layout::MapEntryOrder::AscendingKey names.
Structs§
- Ascending
Key - The entries of a slice in ascending order of their keys (a stable sort, so equal keys keep
the order they were held in):
MapEntryOrder::AscendingKey. - MapEntry
struct MapEntry { K key; V value; }(XTypes 1.3 §7.4.1.1.4).
Traits§
- WireMap
- What the writer takes of a map: its size and its entries in the order they go on the wire.