Skip to main content

ptr_rotate_dispatch

Function ptr_rotate_dispatch 

Source
const unsafe fn ptr_rotate_dispatch<T>(left: usize, mid: *mut T, right: usize)
Expand description

Chooses between the three rotation algorithms. See the algorithm docs below.

§Safety

The specified range must be valid for reading and writing.