pub fn getPtr(self: *Self, key: Key) ?*Value
Gets the address of the value associated with a key. If the key is not in the map, returns null.
self: *Self
key: Key
530 531 532 533
pub fn getPtr(self: *Self, key: Key) ?*Value { const index = Indexer.indexOf(key); return if (self.bits.isSet(index)) &self.values[index] else null; }
Gets the address of the value associated with a key. If the key is not in the map, returns null.