pub fn subslice_to_array_ref<const START: usize, const END: usize, T, const N: usize>(
slice: &[T],
) -> &[T; N]
Expand description
Version of SubsliceToArrayRef::subslice_to_array_ref
with all generic parameters listed.
You should probably use this function (and a turbofish) only if the compiler cannot infer
T
or N
.
See SubsliceToArrayRef::subslice_to_array_ref
for a more convenient function with identical
behavior, and for documentation about this function’s behavior.