pub trait HasIdxMapOf<Id: Idx>: Index<Id, Output: Sized> {
// Required methods
fn get_idx_map(&self) -> &IndexMap<Id, Self::Output>;
fn get_idx_map_mut(&mut self) -> &mut IndexMap<Id, Self::Output>;
}pub trait HasIdxMapOf<Id: Idx>: Index<Id, Output: Sized> {
// Required methods
fn get_idx_map(&self) -> &IndexMap<Id, Self::Output>;
fn get_idx_map_mut(&mut self) -> &mut IndexMap<Id, Self::Output>;
}