Crate arrayvec [] [src]

arrayvec provides the types ArrayVec and ArrayString: array-backed vector and string types, which store their contents inline.

The arrayvec crate has the following cargo feature flags:

  • std

    • Optional, enabled by default
    • Requires Rust 1.6 to disable
    • Use libstd
  • use_union

    • Optional
    • Requires Rust nightly channel
    • Use the unstable feature untagged unions for the internal implementation, which has reduced space overhead

Structs

ArrayString

A string with a fixed capacity.

ArrayVec

A vector with a fixed capacity.

CapacityError

Error value indicating insufficient capacity

Drain

A draining iterator for ArrayVec.

IntoIter

By-value iterator for ArrayVec.

Traits

Array

Trait for fixed size arrays.

RangeArgument

IndexRange is implemented by Rust's built-in range types, produced by range syntax like .., a.., ..b or c..d.