MCPcopy 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

210impl<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
217make_lock_wrapper!(

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected