Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chanced/jsonptr
/ partial_cmp
Method
partial_cmp
src/pointer.rs:799–801 ·
view source on GitHub ↗
(&self, other: &PointerBuf)
Source
from the content-addressed store, hash-verified
797
798
impl PartialOrd<PointerBuf> for Pointer {
799
fn partial_cmp(&self, other: &PointerBuf) -> Option<Ordering> {
800
self.0.partial_cmp(other.0.as_str())
801
}
802
}
803
804
impl PartialOrd<Pointer> for PointerBuf {
Callers
nothing calls this directly
Calls
1
as_str
Method · 0.80
Tested by
no test coverage detected