(&self)
| 26 | |
| 27 | #[must_use] |
| 28 | pub const fn universe(&self) -> Option<Universe> { |
| 29 | match self { |
| 30 | Self::Binding(binding) => Some(binding.value), |
| 31 | Self::Item(item) => item.kind.universe(), |
| 32 | } |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | pub(crate) type ModuleItemIterator<'heap> = impl ExactSizeIterator<Item = Reference<'heap>> + Debug; |
no outgoing calls
no test coverage detected