Function nekolib_doc::corro::array_remove

source ·
pub unsafe fn array_remove<T, const N: usize>(
    array: &mut [MaybeUninit<T>; N],
    i: usize,
    len: usize,
) -> T
Expand description

Remove an element from the array.

§Safety

  • array[..len] is initialized,
  • len <= N, and
  • i < len.