pub fn fetchPutAssumeCapacity(self: *Self, key: K, value: V) ?KV
Inserts a new Entry into the hash map, returning the previous one, if any. If insertion happens, asserts there is enough capacity without allocating.
Entry
self: *Self
key: K
value: V
353 354 355
pub fn fetchPutAssumeCapacity(self: *Self, key: K, value: V) ?KV { return self.unmanaged.fetchPutAssumeCapacityContext(key, value, self.ctx); }
Inserts a new
Entryinto the hash map, returning the previous one, if any. If insertion happens, asserts there is enough capacity without allocating.