#slice #numbers #elements #containing #drop-in

no-std slice_n

Slices containing at least some number of elements

2 releases

0.0.2 Mar 24, 2021
0.0.1 Mar 23, 2021

#2998 in Rust patterns


Used in panda_pile

CC-PDDC license

11KB
204 lines

SliceN

A drop-in replacement for rust slices that statically guarantees that at least some number of items is contained within the slice.

Dependencies

~8KB