Expand description
Vector-like facade for arrays allocated entirely on the stack.
Shallow wrapper around an underlying [T; N], which panics if the
array bounds are exceeded.
§Optional features
§std
Enabled by default. Use std library; disable to use no_std instead.
§str
When this optional dependency is enabled, StackStr is available.
§serde
When this optional dependency is enabled, StackVec and StackStr implement the serde::Serialize and
serde::Deserialize traits.
§Rust Version
This version of stack-buf requires Rust 1.51 or later.
Macros§
Structs§
- Drain
- A draining iterator for
StackVec<T, N>. - From
Utf8 Error - A possible error value when converting a
StackStrfrom a UTF-8 byte vector. - Into
Iter - An iterator that consumes a
StackVecand yields its items by value. - Stack
Str - A string with a fixed capacity and stored on the stack.
- Stack
Vec - A
Vec-like container that stores elements on the stack.