pub unsafe fn to_mutable_slice<T: Copy>(s: &[T]) -> &mut [T]
This may break aliasing rules, make sure you are the only owner.