Returns whether this is a pointer or not.
(&self)
| 94 | |
| 95 | /// Returns whether this is a pointer or not. |
| 96 | const fn is_ptr(&self) -> bool { |
| 97 | !self.0.reserved_bit() |
| 98 | } |
| 99 | |
| 100 | /// Assumes that `self` is a `ColliderSlotIndex` and returns it as such. |
| 101 | const fn as_collider(&self) -> ColliderSlotIndex { |
no test coverage detected