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 ofVecNewIn<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 ofVecNewIn<T>.
Type Aliases§
- A
Vecwhich stores its contained data inline, using no external allocation. - A
Vecwhich is pointer-sized, storing its capacity and length in the allocated buffer.