Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QMHTMY/RustBook
/ partial_cmp
Method
partial_cmp
code/chapter08/dijkstra.rs:31–33 ·
view source on GitHub ↗
(&self, other: &Self)
Source
from the content-addressed store, hash-verified
29
30
impl<V> PartialOrd for Visited<V> {
31
fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
32
Some(self.cmp(other))
33
}
34
}
35
36
impl<V> Eq for Visited<V> {}
Callers
nothing calls this directly
Calls
1
cmp
Method · 0.45
Tested by
no test coverage detected