itermacros 0.1.0

Some useful macros related to iterators.
Documentation
  • Coverage
  • 100%
    2 out of 2 items documented2 out of 2 items with examples
  • Size
  • Source code size: 12.44 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 317.63 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • A4-Tacks/itermacros-rs
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • A4-Tacks

Some useful macros related to iterators.

Examples

# use itermacros::iunpack;

let x = iunpack!(a, b, *c, d = 0..=5 => {
    (a, b, c, d)
} else panic!());
assert_eq!(x, (0, 1, vec![2, 3, 4], 5));