Crates.io | tupiter |
lib.rs | tupiter |
version | 0.1.1 |
source | src |
created_at | 2020-08-24 04:27:41.832552 |
updated_at | 2020-08-24 04:30:47.207346 |
description | iterating over tuples |
homepage | |
repository | https://github.com/Monadic-Cat/tupiter |
max_upload_size | |
id | 279998 |
size | 3,404 |
This crate is a hacky solution for anyone who wants to iterate over a homogeneous tuple that they can't rewrite to being an array.
use ::tupiter::IntoIterator;
for x in (1,2,3,4).into_iter() {
println!("{}", x);
}