Crate arrayvec[−][src]
arrayvec provides the types ArrayVec
and ArrayString
:
array-backed vector and string types, which store their contents inline.
The arrayvec package has the following cargo features:
-
std
- Optional, enabled by default
- Use libstd; disable to use
no_std
instead.
-
serde
- Optional
- Enable serialization for ArrayVec and ArrayString using serde 1.x
-
unstable-const-fn
- deprecated (has no effect)
- Not needed,
ArrayVec::new
andArrayString::new
are alwaysconst fn
now
Rust Version
This version of arrayvec requires Rust 1.51 or later.
Structs
ArrayString | A string with a fixed capacity. |
ArrayVec | A vector with a fixed capacity. |
CapacityError | Error value indicating insufficient capacity |
Drain | A draining iterator for |
IntoIter | By-value iterator for |