Skip to main content

Module zip

Module zip 

Source

Re-exportsΒ§

use crate::cmp; πŸ”’
use crate::fmt; πŸ”’
use crate::fmt::Debug; πŸ”’
use crate::fmt::Debug; πŸ”’
use crate::iter::FusedIterator; πŸ”’
use crate::iter::InPlaceIterable; πŸ”’ Experimental
use crate::iter::SourceIter; πŸ”’ Experimental
use crate::iter::TrustedFused; πŸ”’ Experimental
use crate::iter::TrustedLen; πŸ”’ Experimental
use crate::num::NonZero; πŸ”’

MacrosΒ§

zip_impl_general_defaults πŸ”’

StructsΒ§

Zip
An iterator that iterates two other iterators simultaneously.

TraitsΒ§

SpecFold πŸ”’
SpecTrustedRandomAccess πŸ”’
ZipFmt πŸ”’
ZipImpl πŸ”’
TrustedRandomAccess πŸ‘» Experimental
An iterator whose items are random-accessible efficiently
TrustedRandomAccessNoCoerce πŸ‘» Experimental
Like TrustedRandomAccess but without any of the requirements / guarantees around coercions to supertypes after __iterator_get_unchecked (they aren’t allowed here!), and without the requirement that subtypes / supertypes implement TrustedRandomAccessNoCoerce.

FunctionsΒ§

try_get_unchecked πŸ”’πŸ‘» ⚠
Like Iterator::__iterator_get_unchecked, but doesn’t require the compiler to know that U: TrustedRandomAccess.
zip
Converts the arguments to iterators and zips them.