Crates.io | step-count |
lib.rs | step-count |
version | 0.1.1 |
source | src |
created_at | 2023-04-16 22:50:38.388539 |
updated_at | 2023-04-26 19:36:40.986077 |
description | Count items of an iterator with any Step type. |
homepage | |
repository | https://github.com/schuelermine/step-count |
max_upload_size | |
id | 840972 |
size | 12,286 |
Iterator utility for counting the number of iterations with an arbitrary
type that implements the Step
trait.
Note that this library is unstable, as it depends on an unstable Rust feature, and requires nightly Rust to compile.
To use, import individual functions (listed in the documentation)
or use discard_while::DiscardWhile
to get the convenience trait that allows
calling these functions as methods.
This library is free software, you can use and re-use it under the terms of the MIT license. A copy of the license is provided in the source repository in the “LICENSE” file.