MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / cmp

Method cmp

crates/data-structures/src/slim_slice.rs:533–535  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

531impl<T: Ord> Ord for SlimSliceBox<T> {
532 #[inline]
533 fn cmp(&self, other: &Self) -> Ordering {
534 (**self).cmp(&**other)
535 }
536}
537
538impl<T: Hash> Hash for SlimSliceBox<T> {

Callers 1

partial_cmpMethod · 0.45

Calls 1

derefMethod · 0.45

Tested by

no test coverage detected