unsafe fn boxed_slice_as_array_unchecked<T, A: Allocator, const N: usize>( boxed_slice: Box<[T], A> ) -> Box<[T; N], A>
Casts a boxed slice to a boxed array.
boxed_slice.len() must be exactly N.
boxed_slice.len()
N