Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ new
Method
new
cranelift/entity/src/boxed_slice.rs:155–157 ·
view source on GitHub ↗
(i: usize)
Source
from the content-addressed store, hash-verified
153
154
impl EntityRef for E {
155
fn new(i: usize) -> Self {
156
E(i as u32)
157
}
158
fn index(self) -> usize {
159
self.0 as usize
160
}
Callers
nothing calls this directly
Calls
1
E
Class · 0.70
Tested by
no test coverage detected