arrays

Crates.ioarrays
lib.rsarrays
version0.2.0
sourcesrc
created_at2022-11-28 14:17:36.841127
updated_at2023-12-15 09:10:46.165719
descriptionConstruct an array from an iterator
homepage
repositoryhttps://github.com/rossmacarthur/itermore
max_upload_size
id724467
size28,312
Ross MacArthur (rossmacarthur)

documentation

README

arrays

Crates.io Version Docs.rs Latest Build Status

Construct an array from an iterator and other helpers.

Getting started

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();

License

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.

Commit count: 74

cargo fmt