pub trait IndexConversion { // Required method fn index(self) -> isize; }
A helper trait to convert difference indices type to a slice index.
Converts into a slice index.