Assumes that `self` is a `ColliderSlotIndex` and returns it as such.
(&self)
| 99 | |
| 100 | /// Assumes that `self` is a `ColliderSlotIndex` and returns it as such. |
| 101 | const fn as_collider(&self) -> ColliderSlotIndex { |
| 102 | ColliderSlotIndex(self.0.page_index().0 as u32) |
| 103 | } |
| 104 | |
| 105 | /// Convert the packed representation into an unpacked one. |
| 106 | const fn unpack(&self) -> MapSlotRef<'_> { |
no test coverage detected