Crates.io | arraymap |
lib.rs | arraymap |
version | 0.1.1 |
source | src |
created_at | 2016-04-29 17:04:39.39597 |
updated_at | 2018-04-14 13:28:22.314496 |
description | Adds a trait to map functions over arrays |
homepage | |
repository | |
max_upload_size | |
id | 4907 |
size | 3,899 |
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