MCPcopy Create free account
hub / github.com/cel-rust/cel-rust / cmp

Method cmp

cel/src/objects.rs:169–171  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

167
168impl<'a> Ord for dyn AsKeyRef + 'a {
169 fn cmp(&self, other: &Self) -> Ordering {
170 self.as_keyref().cmp(&other.as_keyref())
171 }
172}
173
174/// Implement `Borrow<dyn AsKeyRef>` for `Key` to enable efficient lookups.

Callers 1

partial_cmpMethod · 0.45

Calls 1

as_keyrefMethod · 0.45

Tested by

no test coverage detected