/// Turns a ``[MaybeUninit<T>;N]`` to ``[T;N]``, panicking if not every MaybeUninit is initialized.
pub const fn unwrap_maybe_uninit_array<const SIZE: usize, T>(array: [core::mem::MaybeUninit<T>; SIZE]) -> [T; SIZE] {
    unsafe { array.as_ptr().cast::<[T; SIZE]>().read() }
}