arrayvec
arrayvec copied to clipboard
A vector with a fixed capacity. (Rust)
I didn't have time to add tests to it yet, but this should implement `Index` and `IndexMut` where `I: SliceIndex`. Fixes #190
I'd like to `print!` to an ArrayVec or ArrayString on `no_std`, where `std::io::Write` does not exist.
Hi, it looks to me like the benchmarks in this crate need a bit of love. I'd like to help but I need some input. Currently (e209a5076a7e1af16a8c3e6e587c9faa6fc7553b) `cargo bench slice`...
Closes #188. NB: This may need some more testing/benchmarking to meet crate standards.
For code which is generic over the `Index` or `IndexMut` traits, it would be helpful if `ArrayVec` would implement the `Index` and `IndexMut` traits (in `core::ops`). I understand and like...
I'm missing the resize functionality (similar to the std::vec::Vec::resize): fn resize(&mut self, new_len: usize, value: T) I have to fill some items in a random order, so first the array...
I'm considering using an `ArrayVec` as a small stack to keep track of pressed buttons on a mouse in conrod, however I noticed that it does not impl `Copy`. Seeing...
Planning for arrayvec 1.0 Prerequisites: - [x] ~Stable Manually Drop (Rust 1.20!)~ - [x] #127 Use ManuallyDrop if safe, else wait for stable MaybeUninit or equivalent union code - [x]...