#slice #array #const #fixed #index

index-fixed

convert slices into arrays using indexes ([T] -> [T;N])

7 unstable releases

Uses old Rust 2015

0.3.1 Nov 17, 2020
0.3.0 Sep 26, 2017
0.2.0 Jun 18, 2017
0.1.0 Jun 17, 2017
0.0.2 May 25, 2016

#825 in Algorithms

Download history 1369/week @ 2022-02-03 660/week @ 2022-02-10 542/week @ 2022-02-17 809/week @ 2022-02-24 898/week @ 2022-03-03 1309/week @ 2022-03-10 1116/week @ 2022-03-17 858/week @ 2022-03-24 940/week @ 2022-03-31 1037/week @ 2022-04-07 1634/week @ 2022-04-14 1400/week @ 2022-04-21 2012/week @ 2022-04-28 1442/week @ 2022-05-05 1402/week @ 2022-05-12 1050/week @ 2022-05-19

6,103 downloads per month
Used in 11 crates (4 directly)

Apache-2.0 OR MIT

5KB
66 lines

index-fixed

Index to fixed-length arrays

Documentation (master) Crates.io Travis

Alternates

No runtime deps