bounded-vector
BoundedVec<T, LOW, UPP> - Vec wrapper that guarantees upper and lower bounds on type level.
Alternative to bounded-vec that offers compatibility with empty vector, has more methods and bvec! that works like vec! macro.
Example
use ;
let mut data: = .into;
assert_eq!;
assert_eq!;
data.iter_mut.for_each;
assert_eq!;
License
Licensed under either of MIT or Apache-2.0 at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.