Struct symbol_map::indexing::HashIndexing [] [src]

pub struct HashIndexing<T, D> where T: Eq + Hash, D: SymbolId {
    // some fields omitted
}

HashMap-backed table indexing.

Trait Implementations

impl<T, D> Default for HashIndexing<T, D> where T: Eq + Hash, D: SymbolId
[src]

Returns the "default value" for a type. Read more

impl<T, D> Indexing for HashIndexing<T, D> where T: Eq + Hash, D: SymbolId
[src]

The type T of a Table<T, D>.

The type D of a Table<T, D>.

Returns a new indexing method that has already indexed the contents of table. Read more

Returns a read-only view of the underlying table.

Extracts the underlying table from the index, discarding all pointers into the table. Read more

Looks up data in the index. Returns Some(&symbol) if a symbol is present, else None. Read more

Looks up data in the index, inserting it into the index and table if it isn't present. Returns the resulting &Symbol<T> wrapped in an Insertion that indicates whether a new table entry had to be created. Read more

Looks up the symbol with id i in the index. Returns Some(symbol) if a symbol is present, else None. Read more