Function nekolib_doc::corro::array_insert
source · pub unsafe fn array_insert<T, const N: usize>(
array: &mut [MaybeUninit<T>; N],
i: usize,
len: usize,
elt: T,
)
Expand description
Insert an element into the array.
§Safety
array[..len]
is initialized,array[len..]
is uninitialized,len < N
, andi <= len
.