pub unsafe fn export_array_into_raw(
    src: ArrayRef,
    out_array: *mut FFI_ArrowArray,
    out_schema: *mut FFI_ArrowSchema
) -> Result<()>
Expand description

Exports an array to raw pointers of the C Data Interface provided by the consumer.

Safety

Assumes that these pointers represent valid C Data Interfaces, both in memory representation and lifetime via the release mechanism.

This function copies the content of two FFI structs ffi::FFI_ArrowArray and ffi::FFI_ArrowSchema in the array to the location pointed by the raw pointers. Usually the raw pointers are provided by the array data consumer.