Struct differential_dataflow::trace::layers::ordered::OrderedLayer [] [src]

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

A level of the trie, with keys and offsets into a lower layer.

In this representation, the values for keys[i] are found at vals[offs[i] .. offs[i+1]].

Fields

The keys of the layer.

The offsets associate with each key.

The bounds for keys[i] are (offs[i], offs[i+1]). The offset array is guaranteed to be one element longer than the keys array, ensuring that these accesses do not panic.

The ranges of values associated with the keys.

Trait Implementations

impl<K: Debug + Ord, L: Debug> Debug for OrderedLayer<K, L>
[src]

[src]

Formats the value using the given formatter.

impl<K: Eq + Ord, L: Eq> Eq for OrderedLayer<K, L>
[src]

impl<K: PartialEq + Ord, L: PartialEq> PartialEq for OrderedLayer<K, L>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<K: Ord + Clone, L: Trie> Trie for OrderedLayer<K, L>
[src]

The type of item from which the type is constructed.

The type of cursor used to navigate the type.

The type used to merge instances of the type together.

The type used to assemble instances of the type from its Items.

[src]

The number of distinct keys, as distinct from the total number of tuples.

[src]

The total number of tuples in the collection.

[src]

Returns a cursor over a range of data, commonly used by others to restrict navigation to sub-collections. Read more

[src]

Returns a cursor capable of navigating the collection.

[src]

Merges two collections into a third. Read more