(source: SourceId, id: u32)
| 311 | pub const SYNTHETIC: Self = Self(u32::MAX); |
| 312 | |
| 313 | pub(crate) const fn new(source: SourceId, id: u32) -> Self { |
| 314 | Self((source.value() << Self::SOURCE_OFFSET) | (id & Self::ID_MASK)) |
| 315 | } |
| 316 | |
| 317 | pub(crate) const fn source_id(self) -> SourceId { |
| 318 | SourceId::new_unchecked(self.0 >> Self::SOURCE_OFFSET) |