Registry / utility / unzip-n

unzip-n

JSON →
library0.1.4rscratesunverified

Procedural macro to generate `unzip` for iterators over n-sized tuples.

# Cargo.toml [dependencies] unzip-n = "0.1.4"
INSTALL
IMPORT
SIG · UNZIP-N
U
unzip-n
utilityrustv0.1.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

unzip_n
use unzip_n::unzip_n;

Generates an unzip function for 3-tuples and uses it.

use unzip_n::unzip_n; unzip_n!(3); let data = vec![(1, 'a', true), (2, 'b', false)]; let (a, b, c): (Vec<_>, Vec<_>, Vec<_>) = data.into_iter().unzip_n();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
unzip-n — cargo add unzip-n · libregistry