• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq --rustified-enum ".*"
2 
3 template<typename _Tp>
4 class DataType {
5 public:
6     typedef _Tp         value_type;
7     typedef value_type  work_type;
8     typedef value_type  channel_type;
9     typedef value_type  vec_type;
10     enum { generic_type = 1,
11            depth        = -1,
12            channels     = 1,
13            fmt          = 0,
14            type = -1,
15          };
16 };
17 
18 struct Foo {
19   enum {
20     Bar = 0,
21     Baz = 0,
22   };
23 };
24