#array #copy #range #size #fixed #values #fixed-size

array_range_copy

Crate that allows to set range of values in Rust's fixed size arrays

1 unstable release

0.1.0 Sep 28, 2022

#72 in #fixed

MIT license

3KB
64 lines

array_range_copy

Very simple crate that allows to do this:

let mut arr = [0; 20];
let arr1 = [1; 10];
arr.copy_array_to::<1>(arr1);

No runtime deps