pub struct HashedBuilder<K: HashOrdered, L> {
    pub keys: Vec<Entry<K>>,
    pub vals: L,
    /* private fields */
}
Expand description

Assembles a layer of this

Fields

keys: Vec<Entry<K>>

Entries in the hash map.

vals: L

A builder for the layer below.

Trait Implementations

Looks at the contents of self.temp and extends self.keys appropriately.

This is where the “hash map” structure is produced. Up until this point, all (key, usize) pairs were committed to self.temp, where they awaited layout. That now happens here.

The type of collection produced.
Finalizes the building process and returns the collection.

Copies fully formed ranges (note plural) of keys from another trie.

While the ranges are fully formed, the offsets in them are relative to the other trie, and must be corrected. These keys must be moved immediately to self.keys, as there is no info about boundaries between them, and we are unable to lay out the info any differently.

Allocates an instance of the builder with sufficient capacity to contain the merged data.
Merges two sub-collections into one sub-collection.
The type of item accepted for construction.
Allocates a new builder.
Allocates a new builder with capacity for at least cap tuples.
Inserts a new into the collection.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.