fixedvec-rs
fixedvec-rs copied to clipboard
Heapless vector implementation for Rust
Hi @nastevens! It seems that this crate is a remnant from before the embedded working group was fully established, so it's not maintained by any team at the moment. Would...
Hey, Is there an easy way to remove and return all items without just looping over pop()? Cheers, James
I am attempting to declare a FixedVec in a lazy_static! declaration. However, I repeatedly keep getting error 0106. I have tried various ways of initializing it; right now I have...
It would be useful to have an implementation of `Display` provided when the underlying type `T` also supports the `Display` trait.
Fixes #6.
Allow being able to do things like `vec[1..]` and `vec[2..5]`
Since this data structure could be used extensively, a set of benchmarks could be useful.
The libstd `Vec` adds an impl of `Deref` that derefs to a slice. This allows the use of functions in the `SliceExt` trait directly on `Vec`. Super useful!
In addition to the `alloc_stack` macro, there should be an `alloc_static` macro. This is more difficult than the stack implementation because Rust considers any mutability of `static` memory to be...