Convert the packed representation into an unpacked one.
(&self)
| 104 | |
| 105 | /// Convert the packed representation into an unpacked one. |
| 106 | const fn unpack(&self) -> MapSlotRef<'_> { |
| 107 | if self.is_ptr() { |
| 108 | MapSlotRef::Pointer(&self.0) |
| 109 | } else { |
| 110 | MapSlotRef::Collider(self.as_collider()) |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | /// Convert the packed representation into an unpacked one. |
| 115 | fn unpack_mut(&mut self) -> MapSlotMut<'_> { |
no test coverage detected