pub trait ValueIndex<Idx> { type Output; fn index(&self, index: Idx) -> Self::Output; }
A version of index for returning values instead of references