MCPcopy Index your code
hub / github.com/aiscriptdev/aiscript / partial_cmp

Method partial_cmp

aiscript-arena/src/lock.rs:204–206  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

202impl<T: PartialOrd + Copy> PartialOrd for Lock<T> {
203 #[inline]
204 fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
205 self.get().partial_cmp(&other.get())
206 }
207}
208
209// Can't use `#[derive]` because of the non-standard bounds.

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected