#iterator #element #view #previous #documentation

prev-iter

Iterator which allows you to view the previous element

4 releases

Uses old Rust 2015

0.2.0 Mar 3, 2024
0.1.2 Apr 20, 2018
0.1.1 Apr 20, 2018
0.1.0 Apr 20, 2018

#764 in Rust patterns

MPL-2.0 license

11KB
113 lines

prev-iter Test badge

prev-iter contains an iterator which allows you to view the previous element.

Usage

Add the following line to your Cargo.toml under the [dependencies] section:

prev-iter = "0.2.0"

Documentation

Documentation is available at docs.rs.

Running tests

cargo test

License

prev-iter is licensed under MPL-2.0 and so are all contributions. Please see the license for more information.


lib.rs:

prev-iter contains an iterator which allows you to view the previous element.

No runtime deps