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

Method partial_cmp

aiscript-arena/src/gc.rs:267–269  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

265
266impl<'gc, T: PartialOrd + ?Sized + 'gc> PartialOrd for Gc<'gc, T> {
267 fn partial_cmp(&self, other: &Self) -> Option<core::cmp::Ordering> {
268 (**self).partial_cmp(other)
269 }
270
271 fn le(&self, other: &Self) -> bool {
272 (**self).le(other)

Callers 3

minFunction · 0.45
maxFunction · 0.45
sortFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected