pub fn getIndex(self: Self, key: K) ?usize self: Selfkey: K572
573
574
575
576 pub fn getIndex(self: Self, key: K) ?usize {
if (@sizeOf(Context) != 0)
@compileError("Cannot infer context " ++ @typeName(Context) ++ ", call getIndexContext instead.");
return self.getIndexContext(key, undefined);
}
Finds the index in the
entriesarray where a key is stored