Type Function ArrayListUnmanaged [src]
Alias for std.array_list.ArrayListUnmanaged
An ArrayList, but the allocator is passed as a parameter to the relevant functions
rather than stored in the struct itself. The same allocator must be used throughout
the entire lifetime of an ArrayListUnmanaged. Initialize directly or with
initCapacity, and deinitialize with deinit or use toOwnedSlice.
Prototype
pub fn ArrayListUnmanaged(comptime T: type) type
Parameters
T: type
Source
pub fn ArrayListUnmanaged(comptime T: type) type {
return ArrayListAlignedUnmanaged(T, null);
}