HashIs [Src] [A: A]
primitive val HashIs[A: A] is
HashFunction[A] val
Implements
- HashFunction[A] val
Constructors
create [Src]
new val create()
: HashIs[A] val^
Returns
- HashIs[A] val^
Public Functions
hash [Src]
Hash the identity rather than the contents.
fun box hash(
x: box->A!)
: U64 val
Parameters
- x: box->A!
Returns
- U64 val
eq [Src]
Determine equality by identity rather than structurally.
fun box eq(
x: box->A!,
y: box->A!)
: Bool val
Parameters
- x: box->A!
- y: box->A!
Returns
- Bool val
ne [Src]
fun box ne(
that: HashIs[A] val)
: Bool val
Parameters
- that: HashIs[A] val
Returns
- Bool val