Trait lasso::Reader [−][src]
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
Required methods
Implementations on Foreign Types
Implementors
impl<K, S> Reader<K> for &ThreadedRodeo<K, S> where
K: Key + Hash,
S: BuildHasher + Clone,
[src]
impl<K, S> Reader<K> for &ThreadedRodeo<K, S> where
K: Key + Hash,
S: BuildHasher + Clone,
[src]impl<K, S> Reader<K> for Rodeo<K, S> where
K: Key,
S: BuildHasher,
[src]
impl<K, S> Reader<K> for Rodeo<K, S> where
K: Key,
S: BuildHasher,
[src]impl<K, S> Reader<K> for RodeoReader<K, S> where
K: Key,
S: BuildHasher,
[src]
impl<K, S> Reader<K> for RodeoReader<K, S> where
K: Key,
S: BuildHasher,
[src]