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

Function general_properties

crates/data-structures/src/slim_slice.rs:1617–1626  ·  view source on GitHub ↗
(a: &T, b: &T, a_deref: &U, b_deref: &U)

Source from the content-addressed store, hash-verified

1615 }
1616
1617 fn general_properties<T, U>(a: &T, b: &T, a_deref: &U, b_deref: &U)
1618 where
1619 T: Deref<Target = U> + Debug + Eq + PartialEq<U> + PartialOrd<U> + Ord + Hash,
1620 U: ?Sized + Debug + Eq + Ord + Hash,
1621 {
1622 eq_properties(a, b, a_deref, b_deref);
1623 ord_properties(a, b, a_deref, b_deref);
1624 hash_properties(a, b, a_deref, b_deref);
1625 debug_properties(a, b, a_deref, b_deref);
1626 }
1627
1628 const TEST_STR: &str = "foo";
1629 const TEST_STR2: &str = "fop";

Callers 4

assert_str_propertiesFunction · 0.85
assert_slice_propertiesFunction · 0.85

Calls 4

eq_propertiesFunction · 0.85
ord_propertiesFunction · 0.85
hash_propertiesFunction · 0.85
debug_propertiesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…