| Crates.io | arrays |
| lib.rs | arrays |
| version | 0.2.1 |
| created_at | 2022-11-28 14:17:36.841127+00 |
| updated_at | 2025-07-04 13:03:35.429657+00 |
| description | Construct an array from an iterator |
| homepage | |
| repository | https://github.com/rossmacarthur/itermore |
| max_upload_size | |
| id | 724467 |
| size | 24,077 |
Construct an array from an iterator and other helpers.
Add the arrays crate to your Cargo manifest.
cargo add arrays
Now get the next N items from an iterator.
let arr: [_; 3] = arrays::from_iter(iter).unwrap();
This project is distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT for details.