pub trait ChunkedCollectIterExt<T: PolarsDataType>: Iterator + Sized {
// Provided methods
fn collect_ca_with_dtype(
self,
name: PlSmallStr,
dtype: DataType,
) -> ChunkedArray<T>
where T::Array: ArrayFromIterDtype<Self::Item> { ... }
fn collect_ca_like(
self,
name_dtype_src: &ChunkedArray<T>,
) -> ChunkedArray<T>
where T::Array: ArrayFromIterDtype<Self::Item> { ... }
fn collect_ca_trusted_with_dtype(
self,
name: PlSmallStr,
dtype: DataType,
) -> ChunkedArray<T>
where T::Array: ArrayFromIterDtype<Self::Item>,
Self: TrustedLen { ... }
fn collect_ca_trusted_like(
self,
name_dtype_src: &ChunkedArray<T>,
) -> ChunkedArray<T>
where T::Array: ArrayFromIterDtype<Self::Item>,
Self: TrustedLen { ... }
fn try_collect_ca_with_dtype<U, E>(
self,
name: PlSmallStr,
dtype: DataType,
) -> Result<ChunkedArray<T>, E>
where T::Array: ArrayFromIterDtype<U>,
Self: Iterator<Item = Result<U, E>> { ... }
fn try_collect_ca_like<U, E>(
self,
name_dtype_src: &ChunkedArray<T>,
) -> Result<ChunkedArray<T>, E>
where T::Array: ArrayFromIterDtype<U>,
Self: Iterator<Item = Result<U, E>> { ... }
fn try_collect_ca_trusted_with_dtype<U, E>(
self,
name: PlSmallStr,
dtype: DataType,
) -> Result<ChunkedArray<T>, E>
where T::Array: ArrayFromIterDtype<U>,
Self: Iterator<Item = Result<U, E>> + TrustedLen { ... }
fn try_collect_ca_trusted_like<U, E>(
self,
name_dtype_src: &ChunkedArray<T>,
) -> Result<ChunkedArray<T>, E>
where T::Array: ArrayFromIterDtype<U>,
Self: Iterator<Item = Result<U, E>> + TrustedLen { ... }
}
Provided Methods§
fn collect_ca_with_dtype( self, name: PlSmallStr, dtype: DataType, ) -> ChunkedArray<T>
fn collect_ca_like(self, name_dtype_src: &ChunkedArray<T>) -> ChunkedArray<T>
fn collect_ca_trusted_with_dtype( self, name: PlSmallStr, dtype: DataType, ) -> ChunkedArray<T>
fn collect_ca_trusted_like( self, name_dtype_src: &ChunkedArray<T>, ) -> ChunkedArray<T>
fn try_collect_ca_with_dtype<U, E>( self, name: PlSmallStr, dtype: DataType, ) -> Result<ChunkedArray<T>, E>
fn try_collect_ca_like<U, E>( self, name_dtype_src: &ChunkedArray<T>, ) -> Result<ChunkedArray<T>, E>
fn try_collect_ca_trusted_with_dtype<U, E>( self, name: PlSmallStr, dtype: DataType, ) -> Result<ChunkedArray<T>, E>
fn try_collect_ca_trusted_like<U, E>( self, name_dtype_src: &ChunkedArray<T>, ) -> Result<ChunkedArray<T>, E>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.