macro_rules! pin_init_ffi {
($ffi_fn:expr) => { ... };
}Expand description
A helper macro to initialize a pinned object in-place using a raw FFI constructor.
This generates a PinInit block that passes a type-cast pointer of the allocated
slot to the FFI function, returning Ok(()).