Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ into_js
Method
into_js
crates/wasm/src/convert.rs:286–288 ·
view source on GitHub ↗
(self, vm: &VirtualMachine)
Source
from the content-addressed store, hash-verified
284
}
285
impl<T> PyResultExt<T> for PyResult<T> {
286
fn into_js(self, vm: &VirtualMachine) -> Result<T, JsValue> {
287
self.map_err(|err| py_err_to_js_err(vm, &err))
288
}
289
}
Callers
3
add_to_scope
Method · 0.80
inject_module
Method · 0.80
inject_js_module
Method · 0.80
Calls
1
py_err_to_js_err
Function · 0.85
Tested by
no test coverage detected