#stack #array #vector

opt_arrayvec

Vector-like container with fixed capacity, using options instead of stored length

1 unstable release

0.1.0 Jun 3, 2024

#2261 in Data structures

MIT license

7KB
155 lines

OptArrayVec

A vector-like container that does not store its length directly, but rather retrieves them through inner options. I highly discourage using this if size_of::<Yourtype> != size_of::<Option<Yourtype>>

MSRV

Currently, 1.65

No runtime deps