Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ new
Method
new
cranelift/entity/src/set.rs:59–61 ·
view source on GitHub ↗
Create a new empty set.
()
Source
from the content-addressed store, hash-verified
57
{
58
/// Create a new empty set.
59
pub fn new() -> Self {
60
Self::default()
61
}
62
63
/// Creates a new empty set with the specified capacity.
64
pub fn with_capacity(capacity: usize) -> Self {
Callers
nothing calls this directly
Calls
1
E
Class · 0.70
Tested by
no test coverage detected