use std::ptr::NonNull; struct Opaque; #[repr(C)] pub struct Foo { a: NonNull, b: NonNull, c: NonNull, d: NonNull>, e: NonNull>, f: NonNull>, g: Option>, h: Option>, i: Option>>, } #[no_mangle] pub extern "C" fn root(arg: NonNull, foo: *mut Foo, d: NonNull>) { }