#array #slice #index #const #fixed

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

#2048 in Rust patterns

Download history 597/week @ 2024-12-27 658/week @ 2025-01-03 800/week @ 2025-01-10 817/week @ 2025-01-17 954/week @ 2025-01-24 590/week @ 2025-01-31 766/week @ 2025-02-07 844/week @ 2025-02-14 1123/week @ 2025-02-21 1290/week @ 2025-02-28 1300/week @ 2025-03-07 1154/week @ 2025-03-14 1168/week @ 2025-03-21 839/week @ 2025-03-28 962/week @ 2025-04-04 729/week @ 2025-04-11

3,855 downloads per month
Used in 18 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