MCPcopy Create free account
hub / github.com/arcjet/gravity / new

Method new

cmd/gravity/src/codegen/wasm.rs:19–21  ·  view source on GitHub ↗
(var: &'a GoIdentifier, data: WasmData<'a>)

Source from the content-addressed store, hash-verified

17
18impl<'a> Wasm<'a> {
19 pub(crate) fn new(var: &'a GoIdentifier, data: WasmData<'a>) -> Self {
20 Self { var, data }
21 }
22}
23
24impl FormatInto<Go> for Wasm<'_> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected