Crate stack_buf[][src]

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

serde

When this optional dependency is enabled, StackVec implements the serde::Serialize and serde::Deserialize traits.

Rust Version

This version of stack-buf requires Rust 1.51 or later.

Macros

stack_vec

Creates a StackVec containing the arguments.

Structs

IntoIter

An iterator that consumes a StackVec and yields its items by value.

StackVec

A Vec-like container that stores elements on the stack.