MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / from_iter

Method from_iter

cranelift/codegen/src/ir/constant.rs:33–36  ·  view source on GitHub ↗
(iter: T)

Source from the content-addressed store, hash-verified

31
32impl FromIterator<u8> for ConstantData {
33 fn from_iter<T: IntoIterator<Item = u8>>(iter: T) -> Self {
34 let v = iter.into_iter().collect();
35 Self(v)
36 }
37}
38
39impl From<Vec<u8>> for ConstantData {

Callers

nothing calls this directly

Calls 2

collectMethod · 0.80
into_iterMethod · 0.45

Tested by

no test coverage detected