Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
32
impl<V> PartialOrd for Visited<V> {
33
fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
34
Some(self.cmp(other))
35
}
36
}
37
38
impl<V> Eq for Visited<V> {}
Callers
nothing calls this directly
Calls
1
cmp
Method · 0.45
Tested by
no test coverage detected