(&self)
| 1979 | /// Returns the list of field types for this function. |
| 1980 | #[inline] |
| 1981 | pub fn fields(&self) -> impl ExactSizeIterator<Item = FieldType> + '_ { |
| 1982 | let engine = self.engine(); |
| 1983 | self.as_wasm_struct_type() |
| 1984 | .fields |
| 1985 | .iter() |
| 1986 | .map(|ty| FieldType::from_wasm_field_type(engine, ty)) |
| 1987 | } |
| 1988 | |
| 1989 | /// Does this struct type match the other struct type? |
| 1990 | /// |