multi_iter 0.1.2

Iterator for acting on multiple elements at a time
Documentation

CI

multi_iter

Iterator for acting on multiple elements at a time.

Features

  1. Peek multiple elements with:
  • peek_n
  • peek_rest
  1. Advance in windows by using:
  • next_n
  • next_n_if_each
  • next_n_if_slice
  1. Collect with zero allocations using:
  • remaining
  • remaining_if
  • remaining_if_slice

Installation


[dependencies]
multi_iter = "0.1.2"

No-std support

It is possible to use this crate without the Rust standard library. Disable the default "std" feature by doing the following:

[dependencies]
multi_iter = { version = "0.1.2", default-features = false }