Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/explodingcamera/tinywasm
/ addr
Method
addr
crates/tinywasm/src/interpreter/values.rs:34–36 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
32
33
#[inline]
34
pub(crate) const fn addr(self) -> Option<u32> {
35
if self.is_null() { None } else { Some(self.0) }
36
}
37
38
#[inline]
39
pub(crate) const fn is_null(self) -> bool {
Callers
5
from
Method · 0.45
exec_call_indirect
Method · 0.45
exec_table_set
Method · 0.45
exec_table_grow
Method · 0.45
exec_table_fill
Method · 0.45
Calls
1
is_null
Method · 0.45
Tested by
no test coverage detected