Skip to main content

Module index

Module index 

Source

Re-exportsยง

use core::cmp::Ordering; ๐Ÿ”’

Structsยง

WrappedIndex ๐Ÿ”’
Represents an index that can be safely used to index the VecDeque buffer. It exists as a separate type to avoid passing logical (unwrapped) indices to various VecDeque functions by accident.

Functionsยง

wrap_index ๐Ÿ”’
Returns the index in the underlying buffer for a given logical element index.