Function zip_fill::zip_longest [−][src]
pub fn zip_longest<L, R>(
a: L,
b: R,
fill_value: L::Item
) -> ZipLongest<L::IntoIter, R::IntoIter>ⓘ where
L::Item: Clone,
L: IntoIterator,
R: IntoIterator<Item = L::Item>,
Expand description
Zip two iterators extending the shorter one with the provided fill_value
.
Arguments
a
- first iteratorb
- second iteratorfill_value
- default value