infinite-iterator 0.1.0

A trait for iterators that never end
Documentation
  • Coverage
  • 100%
    11 out of 11 items documented5 out of 10 items with examples
  • Size
  • Source code size: 14.65 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.31 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • SabrinaJewson/infinite-iterator.rs
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • SabrinaJewson

This crate provides a trait, InfiniteIterator, used to represent an iterator for which next can never return None.

It additionally provides a macro, ifor!, which is identical a for loop except it supports breaking with a value when used on an infinite iterator.