mz_timely_util::containers

Function columnar_exchange

Source
pub fn columnar_exchange<K, V, T, D>(
    ((k, _), _, _): &<((K, V), T, D) as Columnar>::Ref<'_>,
) -> u64
where K: Columnar, for<'a> K::Ref<'a>: Hash, V: Columnar, D: Columnar, T: Columnar,
Expand description

An exchange function for columnar tuples of the form ((K, V), T, D). Rust has a hard time to figure out the lifetimes of the elements when specified as a closure, so we rather specify it as a function.