pub trait GetBack {
type Item;
// Required method
fn get_back(&self, index: usize) -> Option<&Self::Item>;
}Expand description
Safely retrieve items from a collection with negative indexing.
pub trait GetBack {
type Item;
// Required method
fn get_back(&self, index: usize) -> Option<&Self::Item>;
}Safely retrieve items from a collection with negative indexing.