Debian Codegraph @

.cargo/vendor/cbindgen/tests/rust/exclude_generic_monomorph.rs

raw
1 #[repr(transparent)]
2 pub struct Foo(NonZeroU64);
3
4 #[repr(C)]
5 pub struct Bar {
6 foo: Option<Foo>,
7 }
8
9 #[no_mangle]
10 pub extern "C" fn root(f: Bar) {}