Crate smallvec [] [src]

Small vectors in various sizes. These store a certain number of elements inline, and fall back to the heap for larger allocations. This can be a useful optimization for improving cache locality and reducing allocator traffic for workloads that fit within the inline buffer.

Structs

Drain
IntoIter
SmallVec

A Vec-like container that can store a small number of elements inline.

Traits

Array

Types that can be used as the backing store for a SmallVec

VecLike

Common operations implemented by both Vec and SmallVec.

Type Definitions

SmallVec1 [
Deprecated
]

Deprecated alias to ease transition from an earlier version.

SmallVec16 [
Deprecated
]

Deprecated alias to ease transition from an earlier version.

SmallVec2 [
Deprecated
]

Deprecated alias to ease transition from an earlier version.

SmallVec24 [
Deprecated
]

Deprecated alias to ease transition from an earlier version.

SmallVec32 [
Deprecated
]

Deprecated alias to ease transition from an earlier version.

SmallVec4 [
Deprecated
]

Deprecated alias to ease transition from an earlier version.

SmallVec8 [
Deprecated
]

Deprecated alias to ease transition from an earlier version.