step-count 0.1.1

Count items of an iterator with any Step type.
Documentation
  • Coverage
  • 100%
    10 out of 10 items documented8 out of 9 items with examples
  • Size
  • Source code size: 11.94 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 868.62 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • schuelermine/step-count
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • schuelermine

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.

Documentation

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.