Convert the packed representation into an unpacked one.
(&mut self)
| 113 | |
| 114 | /// Convert the packed representation into an unpacked one. |
| 115 | fn unpack_mut(&mut self) -> MapSlotMut<'_> { |
| 116 | if self.is_ptr() { |
| 117 | MapSlotMut::Pointer(&mut self.0) |
| 118 | } else { |
| 119 | MapSlotMut::Collider(self.as_collider()) |
| 120 | } |
| 121 | } |
| 122 | } |
| 123 | |
| 124 | impl From<ColliderSlotIndex> for PtrOrCollider { |
no test coverage detected