pub trait IndexToUsize {
    fn negative_to_usize(self, len: usize) -> Option<usize>;
}

Required Methods§

Translate the negative index to an offset.

Implementors§