pub trait Reader<K = Spur>: Resolver<K> {
fn get(&self, val: &str) -> Option<K>;
fn contains(&self, val: &str) -> bool;
}
Expand description
A generic interface that allows using any underlying interner for
both its reading and resolution capabilities, allowing both
str -> key
and key -> str
lookups