array_iter_tools 0.2.0

Modify simple arrays
Documentation
  • Coverage
  • 100%
    24 out of 24 items documented2 out of 16 items with examples
  • Size
  • Source code size: 10.94 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.98 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 11s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • conradludgate/array_tools
    1 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • conradludgate

array_iter_tools

Rust Documentation Latest Version

Modify simple arrays

use array_iter_tools::{ArrayIterator, IntoArrayIterator};
let a = [1, 2, 3, 4];
let b = [5, 6, 7, 8];
let c = a.into_array_iter().zip(b).map(|(a, b)| a + b).collect();
assert_eq!(c, [6, 8, 10, 12]);