Type Function ArrayList [src]

A contiguous, growable list of items in memory. This is a wrapper around a slice of T values. The same allocator must be used throughout its entire lifetime. Initialize directly with empty or initCapacity, and deinitialize with deinit or toOwnedSlice.

Prototype

pub fn ArrayList(comptime T: type) type

Parameters

T: type

Source

pub fn ArrayList(comptime T: type) type { return array_list.Aligned(T, null); }