MCPcopy Create free account
hub / github.com/QMHTMY/RustBook / partial_cmp

Method partial_cmp

publication/code/chapter09/dijkstra.rs:33–35  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

31
32impl<V> PartialOrd for Visited<V> {
33 fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
34 Some(self.cmp(other))
35 }
36}
37
38impl<V> Eq for Visited<V> {}

Callers

nothing calls this directly

Calls 1

cmpMethod · 0.45

Tested by

no test coverage detected