Crates.io | array_range_copy |
lib.rs | array_range_copy |
version | 0.1.0 |
source | src |
created_at | 2022-09-28 19:59:12.793344 |
updated_at | 2022-09-28 19:59:12.793344 |
description | Crate that allows to set range of values in Rust's fixed size arrays |
homepage | |
repository | https://github.com/vbakc/rust_array_range_copy |
max_upload_size | |
id | 676020 |
size | 3,926 |
Very simple crate that allows to do this:
let mut arr = [0; 20];
let arr1 = [1; 10];
arr.copy_array_to::<1>(arr1);