polars_core::chunked_array::collect

Trait ChunkedCollectInferIterExt

Source
pub trait ChunkedCollectInferIterExt<T: PolarsDataType>: Iterator + Sized {
    // Provided methods
    fn collect_ca(self, name: PlSmallStr) -> ChunkedArray<T>
       where T::Array: ArrayFromIter<Self::Item> { ... }
    fn collect_ca_trusted(self, name: PlSmallStr) -> ChunkedArray<T>
       where T::Array: ArrayFromIter<Self::Item>,
             Self: TrustedLen { ... }
    fn try_collect_ca<U, E>(
        self,
        name: PlSmallStr,
    ) -> Result<ChunkedArray<T>, E>
       where T::Array: ArrayFromIter<U>,
             Self: Iterator<Item = Result<U, E>> { ... }
    fn try_collect_ca_trusted<U, E>(
        self,
        name: PlSmallStr,
    ) -> Result<ChunkedArray<T>, E>
       where T::Array: ArrayFromIter<U>,
             Self: Iterator<Item = Result<U, E>> + TrustedLen { ... }
}

Provided Methods§

Source

fn collect_ca(self, name: PlSmallStr) -> ChunkedArray<T>
where T::Array: ArrayFromIter<Self::Item>,

Source

fn collect_ca_trusted(self, name: PlSmallStr) -> ChunkedArray<T>
where T::Array: ArrayFromIter<Self::Item>, Self: TrustedLen,

Source

fn try_collect_ca<U, E>(self, name: PlSmallStr) -> Result<ChunkedArray<T>, E>
where T::Array: ArrayFromIter<U>, Self: Iterator<Item = Result<U, E>>,

Source

fn try_collect_ca_trusted<U, E>( self, name: PlSmallStr, ) -> Result<ChunkedArray<T>, E>
where T::Array: ArrayFromIter<U>, Self: Iterator<Item = Result<U, E>> + TrustedLen,

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.

Implementors§