pub trait ZipEqFast<B: IntoIterator>: ExactSizeIterator + Sizedwhere
B::IntoIter: ExactSizeIterator,{
// Provided method
fn zip_eq_fast(
self,
other: B,
) -> impl ExactSizeIterator<Item = (Self::Item, B::Item)> { ... }
}
Provided Methods§
sourcefn zip_eq_fast(
self,
other: B,
) -> impl ExactSizeIterator<Item = (Self::Item, B::Item)>
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.