(&self)
| 1431 | } |
| 1432 | |
| 1433 | pub(crate) fn ty(&self) -> DefinitionType { |
| 1434 | match self { |
| 1435 | Definition::Extern(_, ty) => *ty, |
| 1436 | Definition::HostFunc(func) => DefinitionType::Func(func.sig_index()), |
| 1437 | } |
| 1438 | } |
| 1439 | |
| 1440 | /// Inserts this definition into the `store` provided. |
| 1441 | /// |
no test coverage detected