In-place manipulation of slices.
Inserts at a given index in the slice while dropping its last element.
Shift elements in the slice by n > 0 positions to the left.
Shift all elements in the slice by n > 0 positions to the right.
Pops an elemens from a given index in the slice.
In-place manipulation of slices.