Crate array_iter_tools[−][src]
Expand description
Modify simple arrays
use array_tools::ArrayIterator; let a = [1, 2, 3, 4]; let b = [5, 6, 7, 8]; let c = a.zip_array(b).map_array(|(a, b)| a + b).collect_array(); assert_eq!(c, [6, 8, 10, 12]);
Structs
Map | Implementation behind |
Zip | Implementation behind |
Traits
ArrayIterator | Similar to |