• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // bindgen-flags: --default-enum-style rust --default-non-copy-union-style manually_drop --no-default=".*" --no-hash=".*" --no-partialeq=".*" --no-debug=".*" --no-copy=".*" --with-derive-custom="foo_[^e].*=Clone" --with-derive-custom-struct="foo.*=Default" --with-derive-custom-enum="foo.*=Copy" --with-derive-custom-union="foo.*=Copy"
2 struct foo_struct {
3     int inner;
4 };
5 enum foo_enum {
6     inner = 0
7 };
8 union foo_union {
9     int fst;
10     float snd;
11 };
12 struct non_matching {
13     int inner;
14 };
15