#vec #collect

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

#895 in Rust patterns

Download history 668/week @ 2022-08-13 442/week @ 2022-08-20 962/week @ 2022-08-27 611/week @ 2022-09-03 555/week @ 2022-09-10 402/week @ 2022-09-17 553/week @ 2022-09-24 694/week @ 2022-10-01 795/week @ 2022-10-08 784/week @ 2022-10-15 812/week @ 2022-10-22 1516/week @ 2022-10-29 1335/week @ 2022-11-05 1403/week @ 2022-11-12 519/week @ 2022-11-19 1140/week @ 2022-11-26

4,611 downloads per month
Used in 8 crates (2 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