pub trait NameMapIntern {
type Key;
// Required methods
fn intern(&mut self, s: &str) -> Self::Key;
fn lookup(&self, s: &str) -> Option<Self::Key>;
}
Expand description
A helper trait used in conjunction with NameMap
to optionally intern
keys to non-strings.