pub trait ArrayCollectIterExt<A>: Iterator + Sizedwhere
    A: StaticArray,{
    // Provided methods
    fn collect_arr(self) -> A
       where A: ArrayFromIter<Self::Item> { ... }
    fn collect_arr_trusted(self) -> A
       where A: ArrayFromIter<Self::Item>,
             Self: TrustedLen { ... }
    fn try_collect_arr<U, E>(self) -> Result<A, E>
       where A: ArrayFromIter<U>,
             Self: Iterator<Item = Result<U, E>> { ... }
    fn try_collect_arr_trusted<U, E>(self) -> Result<A, E>
       where A: ArrayFromIter<U>,
             Self: Iterator<Item = Result<U, E>> + TrustedLen { ... }
    fn collect_arr_with_dtype(self, dtype: DataType) -> A
       where A: ArrayFromIterDtype<Self::Item> { ... }
    fn collect_arr_trusted_with_dtype(self, dtype: DataType) -> A
       where A: ArrayFromIterDtype<Self::Item>,
             Self: TrustedLen { ... }
    fn try_collect_arr_with_dtype<U, E>(self, dtype: DataType) -> Result<A, E>
       where A: ArrayFromIterDtype<U>,
             Self: Iterator<Item = Result<U, E>> { ... }
    fn try_collect_arr_trusted_with_dtype<U, E>(
        self,
        dtype: DataType
    ) -> Result<A, E>
       where A: ArrayFromIterDtype<U>,
             Self: Iterator<Item = Result<U, E>> + TrustedLen { ... }
}

Provided Methods§

source

fn collect_arr(self) -> Awhere A: ArrayFromIter<Self::Item>,

source

fn collect_arr_trusted(self) -> Awhere A: ArrayFromIter<Self::Item>, Self: TrustedLen,

source

fn try_collect_arr<U, E>(self) -> Result<A, E>where A: ArrayFromIter<U>, Self: Iterator<Item = Result<U, E>>,

source

fn try_collect_arr_trusted<U, E>(self) -> Result<A, E>where A: ArrayFromIter<U>, Self: Iterator<Item = Result<U, E>> + TrustedLen,

source

fn collect_arr_with_dtype(self, dtype: DataType) -> Awhere A: ArrayFromIterDtype<Self::Item>,

source

fn collect_arr_trusted_with_dtype(self, dtype: DataType) -> Awhere A: ArrayFromIterDtype<Self::Item>, Self: TrustedLen,

source

fn try_collect_arr_with_dtype<U, E>(self, dtype: DataType) -> Result<A, E>where A: ArrayFromIterDtype<U>, Self: Iterator<Item = Result<U, E>>,

source

fn try_collect_arr_trusted_with_dtype<U, E>( self, dtype: DataType ) -> Result<A, E>where A: ArrayFromIterDtype<U>, Self: Iterator<Item = Result<U, E>> + TrustedLen,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<A, I> ArrayCollectIterExt<A> for Iwhere A: StaticArray, I: Iterator,