Skip to main content

wrap_index

Function wrap_index 

Source
pub(super) fn wrap_index(logical_index: usize, capacity: usize) -> WrappedIndex
Expand description

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