Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
32
impl 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
39
impl From<Vec<u8>> for ConstantData {
Callers
nothing calls this directly
Calls
2
collect
Method · 0.80
into_iter
Method · 0.45
Tested by
no test coverage detected