[][src]Module rustc_data_structures::small_vec

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

A vector type intended to be used for small vectors.

Space for up to N elements is provided on the stack. If more elements are collected, Vec is used to store the values on the heap.

The N above is determined by Array's implementor, by way of an associated constant.

Traits

ExpectOne [
Experimental
]

Type Definitions

OneVector [
Experimental
]