fn insertSlice(self: *Self, allocator: Allocator, i: usize, items: []const T) Allocator.Error!void

Insert slice items at index i. Moves list[i .. list.len] to higher indicices make room. This operation is O(N). Invalidates pointers if additional memory is needed.

Parameters

self: *Self,
allocator: Allocator,
i: usize,
items: []const T,