#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

#1437 in Rust patterns

Download history 333/week @ 2024-07-03 425/week @ 2024-07-10 506/week @ 2024-07-17 509/week @ 2024-07-24 649/week @ 2024-07-31 350/week @ 2024-08-07 335/week @ 2024-08-14 360/week @ 2024-08-21 685/week @ 2024-08-28 543/week @ 2024-09-04 452/week @ 2024-09-11 984/week @ 2024-09-18 860/week @ 2024-09-25 481/week @ 2024-10-02 632/week @ 2024-10-09 407/week @ 2024-10-16

2,488 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