stack

DSTs and arrays on the stack!


Keywords
vec, stack, dst, array, smallvec
License
MIT

Documentation

stack

travis-badge release-badge docs-badge license-badge

Implements dynamically sized types over stack allocated arrays.

  • The Vector trait exposes a generic trait for Vec-like operations.
  • ArrayVec implements a Vector interface over a fixed-size array.
  • SmallVec abstracts over a stack allocated ArrayVec, and falls back to a heap Vec upon overflow.
  • SmallDST holds a DST such as a closure or other types in a Vector.