Retrieve the types of the fields of this `tuple` in declaration order.
(&self)
| 412 | |
| 413 | /// Retrieve the types of the fields of this `tuple` in declaration order. |
| 414 | pub fn types(&self) -> impl ExactSizeIterator<Item = Type> + '_ { |
| 415 | self.0.types[self.0.index] |
| 416 | .types |
| 417 | .iter() |
| 418 | .map(|ty| Type::from(ty, &self.0.instance())) |
| 419 | } |
| 420 | } |
| 421 | |
| 422 | impl PartialEq for Tuple { |
no test coverage detected