pub trait Collect{
// Provided method
fn collect<C: Collection<Item = Self::Item>>(
self,
c: C,
) -> CollectResult<C, <Self::End as ResultFn>::Result> { ... }
}Provided Methods§
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.