arrayvec
arrayvec copied to clipboard
A vector with a fixed capacity. (Rust)
For functions that panic, such as `extend`, please consider using `#[track_caller]`, to provide more meaningful location information for debugging such panics. (This report inspired by debugging an ArrayVec panic inside...
Hi, I want to use ArrayString in `rustc_hex::ToHex`, this trait works on every type that implements FromIterator on Item=char. But ArrayString is Item=u8. Is there a reason this isn't Item=char?
Adds two doc examples, one in the crate root and another for `ArrayString`.
Sure would be nice to have `rayon::iter::FromParallelIterator` for `ArrayVec`. I'm willing to work on it if given some direction.
Made a copy of ArrayVec (ArrayVecCopy) that can only hold Copy items. This means copying all of its relevant functions and relevant tests. Closes https://github.com/bluss/arrayvec/issues/32
A new version of `ArrayVecCopy` which uses macros for removing code duplication. I am not sure how to get the macros to replace the tokens in the docs. But anyway...
- Add from_str_const constructor for ArrayString - Add from_slice_const constructor for ArrayVec We can't make the ArrayVec constructors generic, not even where T: Copy, so they are just templated out...
Wonder if it's possible in theory (scratched my head at it for a bit but couldn't quite figure all the details), to have something like: ```rust const S: ArrayString =...
One thing I need that I'm missing from this nice crate is the ability to overwrite a specific segment of an `ArrayVec` with a provided iterable. This is possible with...