Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ value
Method
value
crates/wasm/src/js_module.rs:343–348 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
341
342
#[pygetset]
343
fn value(&self) -> Option<PyJsValueRef> {
344
self.closure
345
.borrow()
346
.as_ref()
347
.map(|(_, js_val)| js_val.clone())
348
}
349
#[pygetset]
350
fn destroyed(&self) -> bool {
351
self.destroyed.get()
Callers
nothing calls this directly
Calls
4
map
Method · 0.45
as_ref
Method · 0.45
borrow
Method · 0.45
clone
Method · 0.45
Tested by
no test coverage detected