pub struct OrderedBuilder<K: Ord, L> {
    pub keys: Vec<K>,
    pub offs: Vec<usize>,
    pub vals: L,
}
Expand description

Assembles a layer of this

Fields

keys: Vec<K>

Keys

offs: Vec<usize>

Offsets

vals: L

The next layer down

Implementations

Performs one step of merging.

Trait Implementations

The type of collection produced.
Requests a commitment to the offset of the current-most sub-collection. Read more
Finalizes the building process and returns the collection.
Allocates an instance of the builder with sufficient capacity to contain the merged data.
Copies sub-collections of other into this collection.
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.