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
1332 1333 1334 1335 1336 1337
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.