MCPcopy 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
39impl From<Vec<u8>> for ConstantData {
40 fn from(v: Vec<u8>) -> Self {
41 Self(v)
42 }
43}
44
45impl From<&[u8]> for ConstantData {

Callers

nothing calls this directly

Calls 2

into_bytesMethod · 0.80
to_vecMethod · 0.45

Tested by

no test coverage detected