HashEq64[A: (Hashable64 #read & Equatable[A] #read)]¶
primitive val HashEq64[A: (Hashable64 #read & Equatable[A] #read)] is
HashFunction64[A] val
Implements¶
- HashFunction64[A] val
Constructors¶
create¶
new val create()
: HashEq64[A] val^
Returns¶
- HashEq64[A] val^
Public Functions¶
hash64¶
Use the hash function from the type parameter.
fun box hash64(
x: box->A)
: U64 val
Parameters¶
- x: box->A
Returns¶
- U64 val
eq¶
Use the structural equality function from the type parameter.
fun box eq(
x: box->A,
y: box->A)
: Bool val
Parameters¶
- x: box->A
- y: box->A
Returns¶
- Bool val
ne¶
fun box ne(
that: HashEq64[A] val)
: Bool val
Parameters¶
- that: HashEq64[A] val
Returns¶
- Bool val