Increments an InternalId by 1 and returns a new instance The caller needs to ensure it doesn't result in overflow
(&self)
| 335 | /// |
| 336 | /// The caller needs to ensure it doesn't result in overflow |
| 337 | pub fn inc(&self) -> Self { |
| 338 | InternalId::from(self.0 + 1) |
| 339 | } |
| 340 | } |
| 341 | |
| 342 | impl From<u32> for InternalId { |
nothing calls this directly
no outgoing calls
no test coverage detected