zipWith

Trait IntoZipWith

Source
pub trait IntoZipWith: IntoIterator + Sized {
    // Provided method
    fn zip_with<R, F, S>(
        self,
        other: R,
        zipper: F,
    ) -> ZipWith<Self::IntoIter, R::IntoIter, F> 
       where R: Sized + IntoIterator,
             F: Fn(Self::Item, R::Item) -> S { ... }
}

Provided Methods§

Source

fn zip_with<R, F, S>( self, other: R, zipper: F, ) -> ZipWith<Self::IntoIter, R::IntoIter, F>
where R: Sized + IntoIterator, F: Fn(Self::Item, R::Item) -> S,

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.

Implementations on Foreign Types§

Source§

impl<'a, T> IntoZipWith for &'a [T]

Source§

impl<T> IntoZipWith for Vec<T>

Implementors§