#collect #vec #items #unzip #iterator

unzip3

Same as Iterator::unzip, but for 3 items. Based on Rust 1.6 implementation.

1 stable release

Uses old Rust 2015

1.0.0 Dec 9, 2017
0.1.1 Aug 19, 2017
0.1.0 Dec 26, 2015

#1698 in Rust patterns

Download history 690/week @ 2024-08-31 582/week @ 2024-09-07 870/week @ 2024-09-14 521/week @ 2024-09-21 957/week @ 2024-09-28 634/week @ 2024-10-05 408/week @ 2024-10-12 520/week @ 2024-10-19 1106/week @ 2024-10-26 715/week @ 2024-11-02 564/week @ 2024-11-09 712/week @ 2024-11-16 421/week @ 2024-11-23 1090/week @ 2024-11-30 587/week @ 2024-12-07 444/week @ 2024-12-14

2,687 downloads per month
Used in 18 crates (4 directly)

MIT license

3KB

Usage

Same as unzip, but for 3 items.

extern crate unzip3;
use self::unzip3::Unzip3;

fn main() {
    let (a,b,c):(Vec<_>,Vec<_>,Vec<_>) = vec![(1,2,3)].iter().cloned().unzip3();
}

No runtime deps