arraymap

Adds a trait to map functions over arrays

2 releases

Uses old Rust 2015

0.1.1 Apr 14, 2018
0.1.0 Apr 29, 2016

#986 in Rust patterns

Download history 173/week @ 2022-12-03 175/week @ 2022-12-10 109/week @ 2022-12-17 152/week @ 2022-12-24 189/week @ 2022-12-31 85/week @ 2023-01-07 105/week @ 2023-01-14 178/week @ 2023-01-21 114/week @ 2023-01-28 91/week @ 2023-02-04 84/week @ 2023-02-11 99/week @ 2023-02-18 243/week @ 2023-02-25 82/week @ 2023-03-04 45/week @ 2023-03-11 45/week @ 2023-03-18

424 downloads per month
Used in 7 crates (3 directly)

MIT license

3KB

arraymap

Adds a trait to map functions over arrays.

Usage:

use arraymap::ArrayMap;

let x = [1, 2, 3].map(|v| v + 1);
assert_eq!([2, 3, 4], x);

License:

Everything in this repository is subject to the MIT License

No runtime deps