#vec #collect #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

#1846 in Rust patterns

Download history 719/week @ 2023-11-20 1124/week @ 2023-11-27 734/week @ 2023-12-04 738/week @ 2023-12-11 958/week @ 2023-12-18 376/week @ 2023-12-25 790/week @ 2024-01-01 681/week @ 2024-01-08 816/week @ 2024-01-15 566/week @ 2024-01-22 807/week @ 2024-01-29 748/week @ 2024-02-05 732/week @ 2024-02-12 1562/week @ 2024-02-19 1381/week @ 2024-02-26 779/week @ 2024-03-04

4,469 downloads per month
Used in 17 crates (3 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