Struct little::Options
[−]
[src]
pub struct Options<I: Eq + Hash, V> {
// some fields omitted
}Runtime options maped to index list.
pub struct Options<I: Eq + Hash, V> {
// some fields omitted
}Runtime options maped to index list.
impl<I: Eq + Hash, V> Options<I, V>fn new(map: HashMap<I, V>) -> Options<I, V>fn empty() -> Options<I, V>fn push(&mut self, index: I, value: V)fn get<'a>(&'a self, index: I) -> Option<&'a V>impl<I: Eq + Hash, V> Index<I> for Options<I, V>type Output = Vfn index<'a>(&'a self, index: I) -> &'a Vimpl<I: Debug + Eq + Hash, V: Debug> Debug for Options<I, V>