Function extend¶
Defined in File common.h
Function Documentation¶
-
usize
extend
(u0 *self, const u0 *slice, usize width)¶ Works like push, but extends the array by multiple elements.
- Parameters
[inout] self
: A pointer to a dynamic array, of any type.[in] slice
: A pointer to a slice, and a slice only (not an array, dynamic array, etc.).[in] width
: Thesizeof(T)
whereT
is the type of the individual