• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Protocol Buffers - Google's data interchange format
2 // Copyright 2024 Google LLC.  All rights reserved.
3 //
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file or at
6 // https://developers.google.com/open-source/licenses/bsd
7 
8 // Transcribed from google3/third_party/upb/upb/base/descriptor_constants.h
9 #[repr(C)]
10 #[allow(dead_code)]
11 #[derive(PartialEq, Eq, Clone, Copy, Debug)]
12 pub enum CType {
13     Bool = 1,
14     Float = 2,
15     Int32 = 3,
16     UInt32 = 4,
17     Enum = 5,
18     Message = 6,
19     Double = 7,
20     Int64 = 8,
21     UInt64 = 9,
22     String = 10,
23     Bytes = 11,
24 }
25