MCPcopy Index your code
hub / github.com/explodingcamera/tinywasm / new

Method new

crates/tinywasm/src/reference.rs:23–25  ·  view source on GitHub ↗
(store_id: usize, addr: Addr)

Source from the content-addressed store, hash-verified

21impl StoreItem {
22 #[inline]
23 pub(crate) const fn new(store_id: usize, addr: Addr) -> Self {
24 Self { store_id, addr }
25 }
26
27 #[inline]
28 pub(crate) fn validate_store(&self, store: &Store) -> Result<(), Trap> {

Callers

nothing calls this directly

Calls 5

configMethod · 0.80
lenMethod · 0.45
pushMethod · 0.45
idMethod · 0.45
addrMethod · 0.45

Tested by

no test coverage detected