☰
Debian Codegraph
@
1.4.4-1
/
/
.cargo
/
vendor
/
cbindgen
/
tests
/
rust
/
prefixed_struct_literal_deep.rs
☽
☼
.cargo/vendor/cbindgen/tests/rust/prefixed_struct_literal_deep.rs
code
plain
raw
MPL-2.0
NONE
debian/copyright
1
#[repr(C)]
2
struct Foo {
3
a: i32,
4
b: u32,
5
bar: Bar,
6
}
7
8
#[repr(C)]
9
struct Bar {
10
a: i32,
11
}
12
13
pub const VAL: Foo = Foo {
14
a: 42,
15
b: 1337,
16
bar: Bar { a: 323 },
17
};
18
19
#[no_mangle]
20
pub extern "C" fn root(x: Foo) {}