Module flex_alloc::vec

source ·

Modules§

Structs§

Functions§

  • Create a Vec<T> from an array [T; N].
  • Create a Vec<T, C> from an array [T; N] and an instance of VecNewIn<T>.
  • Create a Vec<T> from a cloneable element T and a count of the number of elements.
  • Create a Vec<T, C> from a cloneable element T, a count of the number of elements, and an instance of VecNewIn<T>.

Type Aliases§

  • A Vec which stores its contained data inline, using no external allocation.
  • A Vec which is pointer-sized, storing its capacity and length in the allocated buffer.