Skip to main content

Vec

Type Alias Vec 

Source
pub type Vec<T> = Vec<T>;
Available on crate feature alloc only.
Expand description

A contiguous growable array type.

§Feature Variants

  • With alloc feature: Standard heap-allocated Vec<T> from the alloc crate
  • Without alloc feature: Type alias for &'static [T], requires static data

Aliased Type§

pub struct Vec<T> { /* private fields */ }