Crate arrutil

Source

Functions§

slice_to_array
Turns a slice into a reference to an array
slice_to_array_mut
Turns a mutable slice into a mutable reference to an array
slice_to_array_mut_unchecked
Turn a mutable slice into a mutable reference to an array without bounds checking.
slice_to_array_unchecked
Turns a slice into a reference to an array without bounds checking.
split_to_array
Turns a slice into a reference to an array and a slice starting from the end of the array
split_to_array_mut
Turns a mutable slice into a mutable reference to an array and a mutable slice starting from the end of the array
split_to_array_scan
Turn a slice into a reference to an array and mutate the original slice to the end of the array