Trait polars_arrow::array::ArrayFromIterDtype
source · pub trait ArrayFromIterDtype<T>: Sized {
// Required methods
fn arr_from_iter_with_dtype<I: IntoIterator<Item = T>>(
dtype: ArrowDataType,
iter: I,
) -> Self;
fn try_arr_from_iter_with_dtype<E, I: IntoIterator<Item = Result<T, E>>>(
dtype: ArrowDataType,
iter: I,
) -> Result<Self, E>;
// Provided methods
fn arr_from_iter_trusted_with_dtype<I>(
dtype: ArrowDataType,
iter: I,
) -> Self
where I: IntoIterator<Item = T>,
I::IntoIter: TrustedLen { ... }
fn try_arr_from_iter_trusted_with_dtype<E, I>(
dtype: ArrowDataType,
iter: I,
) -> Result<Self, E>
where I: IntoIterator<Item = Result<T, E>>,
I::IntoIter: TrustedLen { ... }
}
Required Methods§
fn arr_from_iter_with_dtype<I: IntoIterator<Item = T>>( dtype: ArrowDataType, iter: I, ) -> Self
fn try_arr_from_iter_with_dtype<E, I: IntoIterator<Item = Result<T, E>>>( dtype: ArrowDataType, iter: I, ) -> Result<Self, E>
Provided Methods§
fn arr_from_iter_trusted_with_dtype<I>(dtype: ArrowDataType, iter: I) -> Self
fn try_arr_from_iter_trusted_with_dtype<E, I>( dtype: ArrowDataType, iter: I, ) -> Result<Self, E>
Object Safety§
This trait is not object safe.