MCPcopy 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

fromMethod · 0.45
exec_call_indirectMethod · 0.45
exec_table_setMethod · 0.45
exec_table_growMethod · 0.45
exec_table_fillMethod · 0.45

Calls 1

is_nullMethod · 0.45

Tested by

no test coverage detected