Collect

Trait Collect 

Source
pub trait Collect
where Self: ListFn, Self::End: ResultFn,
{ // Provided method fn collect<C: Collection<Item = Self::Item>>( self, c: C, ) -> CollectResult<C, <Self::End as ResultFn>::Result> { ... } }

Provided Methods§

Source

fn collect<C: Collection<Item = Self::Item>>( self, c: C, ) -> CollectResult<C, <Self::End as ResultFn>::Result>

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§

Source§

impl<L> Collect for L
where Self: ListFn, Self::End: ResultFn,