ZipDebugEqIteratorExt

Trait ZipDebugEqIteratorExt 

Source
pub trait ZipDebugEqIteratorExt: Iterator + Sized {
    // Provided method
    fn zip_debug_eq<J: IntoIterator>(
        self,
        other: J,
    ) -> ZipDebugEq<Self, J::IntoIter>  { ... }
}
Expand description

Extension trait providing zip_debug_eq on all iterators.

Provided Methods§

Source

fn zip_debug_eq<J: IntoIterator>( self, other: J, ) -> ZipDebugEq<Self, J::IntoIter>

Like zip_eq, but instead of panicking logs debug_fatal! if the iterators have different lengths. After the diagnostic, behaves like zip (returns None).

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§