Function wrap_index

pub(in ::collections::vec_deque) fn wrap_index(logical_index: usize, capacity: usize) -> WrappedIndex

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