pub trait SortedPairIterator<K, V>: Iterator + Sized {
// Provided methods
fn join<W, J: SortedPairIterator<K, W>>(self, that: J) -> Join<Self, J> ⓘ { ... }
fn left_join<W, J: SortedPairIterator<K, W>>(
self,
that: J,
) -> LeftJoin<Self, J> ⓘ { ... }
fn right_join<W, J: SortedPairIterator<K, W>>(
self,
that: J,
) -> RightJoin<Self, J> ⓘ { ... }
fn outer_join<W, J: SortedPairIterator<K, W>>(
self,
that: J,
) -> OuterJoin<Self, J> ⓘ { ... }
fn map_values<W, F: FnMut(V) -> W>(self, f: F) -> MapValues<Self, F> ⓘ { ... }
fn filter_map_values<W, F: FnMut(V) -> W>(
self,
f: F,
) -> FilterMapValues<Self, F> ⓘ { ... }
fn keys(self) -> Keys<Self> ⓘ { ... }
}
Expand description
relational operations for iterators of pairs where the items are sorted according to the key
Provided Methods§
fn join<W, J: SortedPairIterator<K, W>>(self, that: J) -> Join<Self, J> ⓘ
fn left_join<W, J: SortedPairIterator<K, W>>(self, that: J) -> LeftJoin<Self, J> ⓘ
fn right_join<W, J: SortedPairIterator<K, W>>( self, that: J, ) -> RightJoin<Self, J> ⓘ
fn outer_join<W, J: SortedPairIterator<K, W>>( self, that: J, ) -> OuterJoin<Self, J> ⓘ
fn map_values<W, F: FnMut(V) -> W>(self, f: F) -> MapValues<Self, F> ⓘ
fn filter_map_values<W, F: FnMut(V) -> W>( self, f: F, ) -> FilterMapValues<Self, F> ⓘ
fn keys(self) -> Keys<Self> ⓘ
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.