Struct Zip
struct Zip<A, B> { ... }
An iterator that iterates two other iterators simultaneously.
This struct is created by zip or Iterator::zip.
See their documentation for more.
Implementations
impl<A, B> DoubleEndedIterator for Zip<A, B>
fn next_back(self: &mut Self) -> Option<(<A as >::Item, <B as >::Item)>
impl<A, B> ExactSizeIterator for Zip<A, B>
impl<A, B> Freeze for Zip<A, B>
impl<A, B> FusedIterator for Zip<A, B>
impl<A, B> Iterator for Zip<A, B>
fn next(self: &mut Self) -> Option<<Self as >::Item>fn size_hint(self: &Self) -> (usize, Option<usize>)fn nth(self: &mut Self, n: usize) -> Option<<Self as >::Item>fn fold<Acc, F>(self: Self, init: Acc, f: F) -> Acc where F: FnMut(Acc, <Self as >::Item) -> Acc
impl<A, B> RefUnwindSafe for Zip<A, B>
impl<A, B> Send for Zip<A, B>
impl<A, B> Sync for Zip<A, B>
impl<A, B> TrustedLen for Zip<A, B>
impl<A, B> Unpin for Zip<A, B>
impl<A, B> UnsafeUnpin for Zip<A, B>
impl<A, B> UnwindSafe for Zip<A, B>
impl<A: $crate::clone::Clone, B: $crate::clone::Clone> Clone for Zip<A, B>
fn clone(self: &Self) -> Zip<A, B>
impl<A: Debug, B: Debug> Debug for Zip<A, B>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<I> IntoIterator for Zip<A, B>
fn into_iter(self: Self) -> I
impl<T> Any for Zip<A, B>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Zip<A, B>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Zip<A, B>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for Zip<A, B>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for Zip<A, B>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for Zip<A, B>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for Zip<A, B>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Zip<A, B>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>