Function lookup_map

Source
pub fn lookup_map<G, D, K, R, Tr, F, DOut, ROut, S>(
    prefixes: &VecCollection<G, D, R>,
    arrangement: Arranged<G, Tr>,
    key_selector: F,
    output_func: S,
    supplied_key0: K,
    supplied_key1: K,
    supplied_key2: K,
) -> VecCollection<G, DOut, ROut>
where G: Scope<Timestamp = Tr::Time>, Tr: for<'a> TraceReader<KeyOwn = K, Time: Hash, Diff: Semigroup<Tr::DiffGat<'a>> + Monoid + ExchangeData> + Clone + 'static, K: Hashable + Ord + 'static, F: FnMut(&D, &mut K) + Clone + 'static, D: ExchangeData, R: ExchangeData + Monoid, DOut: Clone + 'static, ROut: Monoid + 'static, S: FnMut(&D, &R, Tr::Val<'_>, &Tr::Diff) -> (DOut, ROut) + 'static,
Expand description

Proposes extensions to a stream of prefixes.

This method takes a stream of prefixes and for each determines a key with key_selector and then proposes all pair af the prefix and values associated with the key in arrangement.