Function arrutil::split_to_array_scan[][src]

pub fn split_to_array_scan<'a, T, const N: usize>(
    source: &mut &'a [T]
) -> Option<&'a [T; N]>

Turn a slice into a reference to an array and mutate the original slice to the end of the array

Returns None if N is shorter than the input slice length