☰
Debian Codegraph
@
1.4.4-1
/
/
.cargo
/
vendor
/
cbindgen
/
tests
/
rust
/
union_self.rs
☽
☼
.cargo/vendor/cbindgen/tests/rust/union_self.rs
code
plain
raw
MPL-2.0
NONE
debian/copyright
1
#[repr(C)]
2
pub struct Foo<T> {
3
something: *const i32,
4
phantom: std::marker::PhantomData<T>,
5
}
6
7
#[repr(C)]
8
pub union Bar {
9
something: i32,
10
subexpressions: Foo<Self>,
11
}
12
13
#[no_mangle]
14
pub extern "C" fn root(b: Bar) {}