#[repr(C)]pub struct WrappedArray {
pub array: FFI_ArrowArray,
pub schema: WrappedSchema,
}Expand description
This is a wrapper struct for FFI_ArrowArray to indicate that the struct is FFI Safe. For convenience, we also include the schema needed to create a record batch from the array.
Fields§
§array: FFI_ArrowArray§schema: WrappedSchemaTrait Implementations§
Source§impl Debug for WrappedArray
impl Debug for WrappedArray
Source§impl TryFrom<&ScalarValue> for WrappedArray
impl TryFrom<&ScalarValue> for WrappedArray
Source§type Error = DataFusionError
type Error = DataFusionError
The type returned in the event of a conversion error.
Source§impl TryFrom<WrappedArray> for ArrayRef
impl TryFrom<WrappedArray> for ArrayRef
Source§type Error = ArrowError
type Error = ArrowError
The type returned in the event of a conversion error.
Source§impl TryFrom<WrappedArray> for ScalarValue
impl TryFrom<WrappedArray> for ScalarValue
Source§type Error = DataFusionError
type Error = DataFusionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl !Sync for WrappedArray
impl Freeze for WrappedArray
impl RefUnwindSafe for WrappedArray
impl Send for WrappedArray
impl Unpin for WrappedArray
impl UnsafeUnpin for WrappedArray
impl UnwindSafe for WrappedArray
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more