| 23 | } |
| 24 | |
| 25 | pub trait NativeModuleLoader { |
| 26 | fn has_module(&self, realm: &QuickJsRealmAdapter, module_name: &str) -> bool; |
| 27 | fn get_module_export_names(&self, realm: &QuickJsRealmAdapter, module_name: &str) -> Vec<&str>; |
| 28 | fn get_module_exports( |
| 29 | &self, |
| 30 | realm: &QuickJsRealmAdapter, |
| 31 | module_name: &str, |
| 32 | ) -> Vec<(&str, QuickJsValueAdapter)>; |
| 33 | } |
nothing calls this directly
no outgoing calls
no test coverage detected