[−][src]Function protobuf::reflect::accessor::make_map_accessor
pub fn make_map_accessor<M, K, V>(
name: &'static str,
get_field: fn'a(_: &'a M) -> &'a HashMap<K::Value, V::Value>,
mut_field: fn'a(_: &'a mut M) -> &'a mut HashMap<K::Value, V::Value>
) -> Box<dyn FieldAccessor + 'static> where
M: Message + 'static,
K: ProtobufType + 'static,
V: ProtobufType + 'static,
<K as ProtobufType>::Value: Hash + Eq,