(&self)
| 45 | } |
| 46 | |
| 47 | fn results(&self) -> impl ExactSizeIterator<Item = ValType> + '_ { |
| 48 | match self { |
| 49 | LazyFuncType::Lazy { results, .. } => LazyFuncTypeIter::Lazy(results.iter()), |
| 50 | LazyFuncType::FuncType(f) => LazyFuncTypeIter::FuncType(f.results()), |
| 51 | } |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | enum LazyFuncTypeIter<'a, T> { |
no test coverage detected