pub struct FFIArrowArray(/* private fields */);
Expand description
Wrapper around an ArrowArray FFI schema and array struct in Wasm memory.
Implementations§
Source§impl FFIArrowArray
impl FFIArrowArray
pub fn field_addr(&self) -> *const ArrowSchema
pub fn array_addr(&self) -> *const ArrowArray
pub fn free(self)
pub fn drop(self)
Trait Implementations§
Source§impl From<FFIArrowArray> for JsValue
impl From<FFIArrowArray> for JsValue
Source§fn from(value: FFIArrowArray) -> Self
fn from(value: FFIArrowArray) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for FFIArrowArray
impl FromWasmAbi for FFIArrowArray
Source§impl IntoWasmAbi for FFIArrowArray
impl IntoWasmAbi for FFIArrowArray
Source§impl LongRefFromWasmAbi for FFIArrowArray
impl LongRefFromWasmAbi for FFIArrowArray
Source§impl OptionFromWasmAbi for FFIArrowArray
impl OptionFromWasmAbi for FFIArrowArray
Source§impl OptionIntoWasmAbi for FFIArrowArray
impl OptionIntoWasmAbi for FFIArrowArray
Source§impl RefFromWasmAbi for FFIArrowArray
impl RefFromWasmAbi for FFIArrowArray
Source§type Anchor = RcRef<FFIArrowArray>
type Anchor = RcRef<FFIArrowArray>
The type that holds the reference to
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl RefMutFromWasmAbi for FFIArrowArray
impl RefMutFromWasmAbi for FFIArrowArray
Source§impl TryFrom<FFIArrowArray> for Box<dyn Array>
impl TryFrom<FFIArrowArray> for Box<dyn Array>
Source§type Error = GeoArrowError
type Error = GeoArrowError
The type returned in the event of a conversion error.
Source§fn try_from(ffi_array: FFIArrowArray) -> Result<Self>
fn try_from(ffi_array: FFIArrowArray) -> Result<Self>
Performs the conversion.
Source§impl TryFromJsValue for FFIArrowArray
impl TryFromJsValue for FFIArrowArray
Source§impl VectorFromWasmAbi for FFIArrowArray
impl VectorFromWasmAbi for FFIArrowArray
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[FFIArrowArray]>
Source§impl VectorIntoJsValue for FFIArrowArray
impl VectorIntoJsValue for FFIArrowArray
fn vector_into_jsvalue(vector: Box<[FFIArrowArray]>) -> JsValue
Source§impl VectorIntoWasmAbi for FFIArrowArray
impl VectorIntoWasmAbi for FFIArrowArray
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[FFIArrowArray]>) -> Self::Abi
Source§impl WasmDescribeVector for FFIArrowArray
impl WasmDescribeVector for FFIArrowArray
impl SupportsConstructor for FFIArrowArray
impl SupportsInstanceProperty for FFIArrowArray
impl SupportsStaticProperty for FFIArrowArray
Auto Trait Implementations§
impl Freeze for FFIArrowArray
impl RefUnwindSafe for FFIArrowArray
impl !Send for FFIArrowArray
impl !Sync for FFIArrowArray
impl Unpin for FFIArrowArray
impl UnwindSafe for FFIArrowArray
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
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 moreSource§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.