MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / cmp

Method cmp

src/ore/src/iter.rs:148–150  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

146
147 impl<I: Iterator, F: Fn(&I::Item, &I::Item) -> Ordering> Ord for RunIter<I, F> {
148 fn cmp(&self, other: &Self) -> Ordering {
149 (self.merge_by)(&self.peek, &other.peek)
150 }
151 }
152
153 impl<I: Iterator, F: Fn(&I::Item, &I::Item) -> Ordering> PartialOrd for RunIter<I, F> {

Callers 3

seekMethod · 0.45
partial_cmpMethod · 0.45
eqMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected