Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ ty
Method
ty
crates/c-api/src/types/memory.rs:34–39 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
32
}
33
34
pub(crate) fn ty(&self) -> &CMemoryType {
35
match &self.ext.which {
36
CExternType::Memory(f) => &f,
37
_ => unsafe { std::hint::unreachable_unchecked() },
38
}
39
}
40
}
41
42
impl CMemoryType {
Callers
7
wasm_memorytype_limits
Function · 0.45
wasmtime_memorytype_minimum
Function · 0.45
wasmtime_memorytype_maximum
Function · 0.45
wasmtime_memorytype_is64
Function · 0.45
wasmtime_memorytype_isshared
Function · 0.45
wasmtime_memorytype_page_size
Function · 0.45
wasmtime_memorytype_page_size_log2
Function · 0.45
Calls
1
unreachable_unchecked
Function · 0.85
Tested by
no test coverage detected