pub fn copy_subset<T: Copy + Default, const N: usize>(arr: &[T]) -> [T; N]Expand description
Copies from the provided source slice into a statically sized output array. Uses [&T::copy_from_slice]
under-the-hood, and will panic if N is greater than the provided slice length.