tupiter

Crates.iotupiter
lib.rstupiter
version0.1.1
sourcesrc
created_at2020-08-24 04:27:41.832552
updated_at2020-08-24 04:30:47.207346
descriptioniterating over tuples
homepage
repositoryhttps://github.com/Monadic-Cat/tupiter
max_upload_size
id279998
size3,404
Monadic Cat (Monadic-Cat)

documentation

https://docs.rs/tupiter

README

Tupiter

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);
}
Commit count: 6

cargo fmt