|
|
|
@ -45,14 +45,13 @@ namespace rust { |
|
|
|
|
class AccessorGenerator { |
|
|
|
|
public: |
|
|
|
|
AccessorGenerator() = default; |
|
|
|
|
virtual ~AccessorGenerator() = default; |
|
|
|
|
|
|
|
|
|
AccessorGenerator(const AccessorGenerator &) = delete; |
|
|
|
|
AccessorGenerator(AccessorGenerator &&) = delete; |
|
|
|
|
AccessorGenerator &operator=(const AccessorGenerator &) = delete; |
|
|
|
|
AccessorGenerator &operator=(AccessorGenerator &&) = delete; |
|
|
|
|
|
|
|
|
|
virtual ~AccessorGenerator(); |
|
|
|
|
|
|
|
|
|
// Constructs a generator for the given field.
|
|
|
|
|
//
|
|
|
|
|
// Returns `nullptr` if there is no known generator for this field.
|
|
|
|
@ -93,8 +92,6 @@ class AccessorGenerator { |
|
|
|
|
Context<FieldDescriptor> field); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
inline AccessorGenerator::~AccessorGenerator() = default; |
|
|
|
|
|
|
|
|
|
} // namespace rust
|
|
|
|
|
} // namespace compiler
|
|
|
|
|
} // namespace protobuf
|
|
|
|
|