☰
Debian Codegraph
@
1.4.4-1
/
/
.cargo
/
vendor
/
cbindgen
/
tests
/
rust
/
cell.rs
☽
☼
.cargo/vendor/cbindgen/tests/rust/cell.rs
code
plain
raw
MPL-2.0
NONE
debian/copyright
1
#[repr(C)]
2
pub struct MyStruct {
3
number: std::cell::Cell<i32>,
4
}
5
6
pub struct NotReprC<T> { inner: T }
7
8
pub type Foo = NotReprC<std::cell::RefCell<i32>>;
9
10
#[no_mangle]
11
pub extern "C" fn root(a: &Foo, with_cell: &MyStruct) {}