Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ from
Method
from
cranelift/codegen/src/ir/constant.rs:40–42 ·
view source on GitHub ↗
(v: Vec<u8>)
Source
from the content-addressed store, hash-verified
38
39
impl From<Vec<u8>> for ConstantData {
40
fn from(v: Vec<u8>) -> Self {
41
Self(v)
42
}
43
}
44
45
impl From<&[u8]> for ConstantData {
Callers
nothing calls this directly
Calls
2
into_bytes
Method · 0.80
to_vec
Method · 0.45
Tested by
no test coverage detected