fn set(self: *Self, i: usize, item: T) void

Set the value of the element at index i of the slice.

Parameters

self: *Self,
i: usize,
item: T,