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
470 471 472 473 474 475
pub fn move(self: *Self) Self { self.unmanaged.pointer_stability.assertUnlocked(); const result = self.*; self.unmanaged = .empty; return result; }
Set the map to an empty state, making deinitialization a no-op, and returning a copy of the original.