Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/aiscriptdev/aiscript
/ cmp
Method
cmp
aiscript-arena/src/lock.rs:212–214 ·
view source on GitHub ↗
(&self, other: &Self)
Source
from the content-addressed store, hash-verified
210
impl<T: Ord + Copy> Ord for Lock<T> {
211
#[inline]
212
fn cmp(&self, other: &Self) -> Ordering {
213
self.get().cmp(&other.get())
214
}
215
}
216
217
make_lock_wrapper!(
Callers
nothing calls this directly
Calls
1
get
Method · 0.45
Tested by
no test coverage detected