pub fn getEntryAdapted(self: Self, key: anytype, ctx: anytype) ?Entry
self: Self
key
ctx
562 563 564 565 566 567 568 569
pub fn getEntryAdapted(self: Self, key: anytype, ctx: anytype) ?Entry { const index = self.getIndexAdapted(key, ctx) orelse return null; const slice = self.entries.slice(); return Entry{ .key_ptr = &slice.items(.key)[index], .value_ptr = &slice.items(.value)[index], }; }