Function slice_to_array_unchecked

Source
pub unsafe fn slice_to_array_unchecked<T, const N: usize>(
    source: &[T],
) -> &[T; N]
Expand description

Turns a slice into a reference to an array without bounds checking.