☰
Module rotate
Functions
?
Module
core
::
slice
::
rotate
source
·
[
−
]
Functions
ptr_rotate
⚠
Rotates the range
[mid-left, mid+right)
such that the element at
mid
becomes the first element. Equivalently, rotates the range
left
elements to the left or
right
elements to the right.