str_iter 1.0.0

Non-allocating string iterators
Documentation
  • Coverage
  • 100%
    12 out of 12 items documented0 out of 11 items with examples
  • Size
  • Source code size: 8.85 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.08 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • martingallagher/str-iter
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • martingallagher

Non-Allocating String Iterators

This library provides basic non-allocating string iterators for both substring and character functions.

Examples

  1. Character Functions
use str_iter::Func;

fn main() {
  "Hello 😎 Dennis! 😀"
      .func_iter(|c: char| c < '\u{1F600}' || c > '\u{1F64F}')
      .for_each(|v| println!("{}", v));
}

TODO

Implement the multitude of useful iterator traits.