Skip to main content

map_of

Function map_of 

Source
pub fn map_of(
    key: DynamicType,
    value: DynamicType,
    bound: u32,
    name: &str,
) -> DynamicType
Expand description

Build a map<Key, Value> type retaining BOTH fully-resolved key and value DynamicTypes (key at index 0, value at index 1) for the reflective codec.