DoxigAlpha

Function parameters

Parameters

#
ctx:anytype
a:anytype
b:K
b_index:usize

Type definitions in this namespace

Types

#

An `ArrayHashMap` with default hash and equal functions.

Functions

#
AutoArrayHashMap
An `ArrayHashMap` with default hash and equal functions.
AutoArrayHashMapUnmanaged
An `ArrayHashMapUnmanaged` with default hash and equal functions.
StringArrayHashMap
An `ArrayHashMap` with strings as keys.
StringArrayHashMapUnmanaged
An `ArrayHashMapUnmanaged` with strings as keys.
ArrayHashMap
Deprecated in favor of `ArrayHashMapWithAllocator` (no code changes needed)
ArrayHashMapWithAllocator
A hash table of keys and values, each stored sequentially.
ArrayHashMapUnmanaged
A hash table of keys and values, each stored sequentially.

Source

Implementation

#
fn checkedEql(ctx: anytype, a: anytype, b: K, b_index: usize) bool {
    // If you get a compile error on the next line, it means that your
    // generic eql function doesn't accept (self, adapt key, K, index).
    return ctx.eql(a, b, b_index);
}