class RustMapHelper
Defined at line 1080 of file ../../third_party/protobuf/src/src/google/protobuf/map.h
The purpose of this class is to give the Rust implementation visibility into
some of the internals of C++ proto maps. We need access to these internals
to be able to implement Rust map operations without duplicating the same
functionality for every message type.
Public Methods
NodeBase * AllocNode (UntypedMapBase * m)
Defined at line 1084 of file ../../third_party/protobuf/src/src/google/protobuf/map.h
void DeleteNode (UntypedMapBase * m, NodeBase * node)
Defined at line 1088 of file ../../third_party/protobuf/src/src/google/protobuf/map.h
template <typename Map, typename Key>
NodeAndBucket FindHelper (Map * m, Key key)
Defined at line 1093 of file ../../third_party/protobuf/src/src/google/protobuf/map.h
template <typename Map>
bool InsertOrReplaceNode (Map * m, NodeBase * node)
Defined at line 1098 of file ../../third_party/protobuf/src/src/google/protobuf/map.h
template <typename Map, typename Key>
bool EraseImpl (Map * m, const Key & key)
Defined at line 1104 of file ../../third_party/protobuf/src/src/google/protobuf/map.h
google::protobuf::MessageLite * PlacementNew (const MessageLite * prototype, void * mem)
Defined at line 1108 of file ../../third_party/protobuf/src/src/google/protobuf/map.h