Skip to content

Iterate in chunks on any iterator.

License

MIT, Unlicense licenses found

Licenses found

MIT
LICENSE-MIT
Unlicense
LICENSE-UNLICENSE
Notifications You must be signed in to change notification settings

frogtd/chunk_iter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chunk_iter

It makes any iterable into chunks, using const generics.

#![no_std]

This crate is no_std.

Usage

use chunk_iter::ChunkIter;

for x in iter.chunks::<3>() {
    println!("{:?}", x); // x is a size 3 array of what iter contains
}

About

Iterate in chunks on any iterator.

Resources

License

MIT, Unlicense licenses found

Licenses found

MIT
LICENSE-MIT
Unlicense
LICENSE-UNLICENSE

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages