pub trait LookupTable {
    fn contains(&self, alias: &str) -> bool;
    fn len(&self) -> usize;
    fn iter(&self) -> Iter<'_, &'static str>;

    fn is_empty(&self) -> bool { ... }
}
Expand description

A lookup table where all elements are statically known

Required Methods

True if this lookup table contains alias

The number of elements in this lookup table

An iterator over this lookup table

Provided Methods

True if there are no elements

Implementors