Construct List with initial elements.
Construct List with backing slice and optional initial elements.
Construct List with backing pointer and capacity and optional initial elements.
Construct List with backing buffer slice and optional initial elements.
Construct List with backing buffer pointer and size and optional initial elements.
Alias this allows operations to target used slice by default.
Clear all elements of List. If element type has elaborate destructor, popped slots are reinitialized to T.init.
Get a slice for the used elements.
Index the slice of used elements.
Push back elements on list ~= args
Pop the last element from List. If element type has elaborate destructor, popped slot is reinitialized to T.init.
Pop count elements from the back of the List. If element type has elaborate destructor, popped slots are reinitialized to T.init.
Push a value in the end of List.
Push a range of values to the end of List.
Get a slice for the used elements.
Whether List has fixed size, which means it is backed by a static array
Available capacity for inserting elements.
List element capacity, which is the backing array's length.
Returns whether there are no elements in List.
Returns whether List is full, that is, has no more available capacity.