Struct RawArrowArray
#[repr(C)]pub struct RawArrowArray {
pub length: i64,
pub null_count: i64,
pub offset: i64,
pub n_buffers: i64,
pub n_children: i64,
pub buffers: *mut *const c_void,
pub children: *mut *mut ArrowArray,
pub dictionary: *mut ArrowArray,
pub release: Option<unsafe extern "C" fn(*mut ArrowArray)>,
pub private_data: *mut c_void,
}Expand description
The Arrow C Data Interface ArrowArray ABI record, re-exported from
libduckdb-sys.
Field-for-field identical to arrow-rs’s FFI_ArrowArray. Prefer the owning
ArrowArray wrapper; this is here for interop with code that already
speaks the raw ABI.
Arrow C Data Interface array.
Fields§
§length: i64§null_count: i64§offset: i64§n_buffers: i64§n_children: i64§buffers: *mut *const c_void§children: *mut *mut ArrowArray§dictionary: *mut ArrowArray§release: Option<unsafe extern "C" fn(*mut ArrowArray)>§private_data: *mut c_voidImplementations§
§impl ArrowArray
impl ArrowArray
pub const fn empty() -> ArrowArray
pub const fn empty() -> ArrowArray
Creates a null-release placeholder for a producer to fill.
Trait Implementations§
Auto Trait Implementations§
impl !Send for ArrowArray
impl !Sync for ArrowArray
impl Freeze for ArrowArray
impl RefUnwindSafe for ArrowArray
impl Unpin for ArrowArray
impl UnsafeUnpin for ArrowArray
impl UnwindSafe for ArrowArray
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more