A vector with fixed capacity. Requires Rust 1.2+.
Please read the API documentation here
- 0.3.16
- Added method
.retain()toArrayVec. - Added methods
.as_slice(), .as_mut_slice()toArrayVecand.as_str()toArrayString.
- Added method
- 0.3.15
- Add feature std, which you can opt out of to use
no_std(requires Rust 1.6 to opt out). - Implement
Clone::clone_fromfor ArrayVec and ArrayString
- Add feature std, which you can opt out of to use
- 0.3.14
- Add
ArrayString::from(&str)
- Add
- 0.3.13
- Added
DerefMutimpl forArrayString. - Added method
.simplify()to drop the element forCapacityError. - Added method
.dispose()toArrayVec
- Added
- 0.3.12
- Added ArrayString, a fixed capacity analogy of String
- 0.3.11
- Added trait impls Default, PartialOrd, Ord, Write for ArrayVec
- 0.3.10
- Go back to using external NoDrop, fixing a panic safety bug (issue #3)
- 0.3.8
- Inline the non-dropping logic to remove one drop flag in the ArrayVec representation.
- 0.3.7
- Added method .into_inner()
- Added unsafe method .set_len()
- 0.1.6
- Add feature std, which you can opt out of to use
no_std.
- Add feature std, which you can opt out of to use
- 0.1.5
- Added crate feature
use_needs_dropwhich is a nightly-only optimization, which skips overwriting if the inner value does not need drop.
- Added crate feature
Dual-licensed to be compatible with the Rust project.
Licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 or the MIT license http://opensource.org/licenses/MIT, at your option. This file may not be copied, modified, or distributed except according to those terms.