pub fn initFull(value: Value) Self
Initializes a full mapping with all keys set to value. Consider using EnumArray instead if the map will remain full.
value: Value
472 473 474 475 476 477 478 479
pub fn initFull(value: Value) Self { var result: Self = .{ .bits = .full, .values = undefined, }; @memset(&result.values, value); return result; }
Initializes a full mapping with all keys set to value. Consider using EnumArray instead if the map will remain full.