pub fn move(self: *Self) Self
Set the map to an empty state, making deinitialization a no-op, and returning a copy of the original.
self: *Self
854 855 856 857 858 859
pub fn move(self: *Self) Self { self.pointer_stability.assertUnlocked(); const result = self.*; self.* = .empty; return result; }
Set the map to an empty state, making deinitialization a no-op, and returning a copy of the original.