rw_iter_util

Trait ZipEqFast

source
pub trait ZipEqFast<B: IntoIterator>: ExactSizeIterator + Sized{
    // Provided method
    fn zip_eq_fast(
        self,
        other: B,
    ) -> impl ExactSizeIterator<Item = (Self::Item, B::Item)> { ... }
}

Provided Methods§

source

fn zip_eq_fast( self, other: B, ) -> impl ExactSizeIterator<Item = (Self::Item, B::Item)>

A specialized version of zip_eq for ExactSizeIterator.

It’s a separate trait because Rust doesn’t support specialization yet. See tracking issue for specialization (RFC 1210).

Object Safety§

This trait is not object safe.

Implementors§