fn wrap_index(logical_index: usize, capacity: usize) -> usize
Expand description

Returns the index in the underlying buffer for a given logical element index.