File indexing completed on 2025-01-31 10:12:00
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef GOOGLE_PROTOBUF_COMPILER_RUST_ONEOF_H__
0009 #define GOOGLE_PROTOBUF_COMPILER_RUST_ONEOF_H__
0010
0011 #include "google/protobuf/compiler/rust/accessors/accessor_case.h"
0012 #include "google/protobuf/compiler/rust/context.h"
0013 #include "google/protobuf/descriptor.h"
0014
0015 namespace google {
0016 namespace protobuf {
0017 namespace compiler {
0018 namespace rust {
0019
0020 void GenerateOneofDefinition(Context& ctx, const OneofDescriptor& oneof);
0021 void GenerateOneofAccessors(Context& ctx, const OneofDescriptor& oneof,
0022 AccessorCase accessor_case);
0023 void GenerateOneofExternC(Context& ctx, const OneofDescriptor& oneof);
0024 void GenerateOneofThunkCc(Context& ctx, const OneofDescriptor& oneof);
0025
0026 }
0027 }
0028 }
0029 }
0030
0031 #endif