MCPcopy Create free account
hub / github.com/argumentcomputer/ix / cmp

Method cmp

crates/common/src/strong_ordering.rs:30–32  ·  view source on GitHub ↗
(x: &A, y: &A)

Source from the content-addressed store, hash-verified

28 }
29
30 pub fn cmp<A: Ord>(x: &A, y: &A) -> Self {
31 SOrd { strong: true, ordering: x.cmp(y) }
32 }
33 pub fn weak_cmp<A: Ord>(x: &A, y: &A) -> Self {
34 SOrd { strong: false, ordering: x.cmp(y) }
35 }

Callers 14

check_inputs_closedFunction · 0.45
dump_query_statsFunction · 0.45
preseed_expr_tablesFunction · 0.45
compare_defnFunction · 0.45
ctx_to_allFunction · 0.45
analyze_const_sizeFunction · 0.45
analyze_block_size_statsFunction · 0.45
rs_kernel_check_constsFunction · 0.45
weak_cmpMethod · 0.45
analyze_sharing_statsFunction · 0.45
decide_sharingFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected