Function protobuf::reflect::accessor::make_map_accessor [] [src]

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<FieldAccessor + 'static> where M: Message + 'static,
        K: ProtobufType + 'static,
        V: ProtobufType + 'static,
        K::Value: Hash + Eq