Returns the number of tables defined by this module itself: all tables minus imported tables.
(&self)
| 566 | /// Returns the number of tables defined by this module itself: all tables |
| 567 | /// minus imported tables. |
| 568 | pub fn num_defined_tables(&self) -> usize { |
| 569 | self.tables.len() - self.num_imported_tables |
| 570 | } |
| 571 | |
| 572 | /// Returns the number of memories defined by this module itself: all |
| 573 | /// memories minus imported memories. |
no test coverage detected