pub trait IndexIter<Idx>: IndexMut<Idx> { // Required method fn iter<'a>(&'a self) -> Box<dyn Iterator<Item = Idx> + 'a>; }