pub fn compute_map_size<K, V>(
    field_number: u32,
    map: &HashMap<K::Value, V::Value>
) -> u32where
    K: ProtobufType,
    V: ProtobufType,
    K::Value: Eq + Hash,
Expand description

Compute serialized size of map field and cache nested field sizes.