putNoClobber
See HashMap.putNoClobber
Parameters
- self:*Self
- *Self
- allocator:Allocator
- Allocator
- key:K
- K
- value:V
- V
Source
Implementation
pub fn putNoClobber(self: *Self, allocator: Allocator, key: K, value: V) Allocator.Error!void {
return self.map.putNoClobber(allocator, key, .{ .inner = value });
}