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>;
}Required Methods§
fn get_idx_map(&self) -> &IndexMap<Id, Self::Output>
fn get_idx_map_mut(&mut self) -> &mut IndexMap<Id, Self::Output>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".