pub trait LookupByIdx<ID, V>where
ID: Idx,{
// Required method
fn get(&self, id: ID) -> Option<&V>;
}Expand description
A trait for looking up values by ID.
pub trait LookupByIdx<ID, V>where
ID: Idx,{
// Required method
fn get(&self, id: ID) -> Option<&V>;
}A trait for looking up values by ID.