MCPcopy Create free account
hub / github.com/dcSpark/cddl-codegen / has_wasm_wrapper

Method has_wasm_wrapper

src/intermediate.rs:556–561  ·  view source on GitHub ↗

Whether `ident` is exposed to wasm AS a `#[wasm_bindgen]` wrapper struct (vs. directly, like a `Copy` c-style enum, or as a transparent `pub type`). A named collection/struct/wrapper generates a wrapper; a c-style enum is exposed directly; anything not a rust-struct (a plain type-alias or primitive) has no wrapper. This is the single source of truth the wasm alias emission consults so a passthroug

(&self, ident: &RustIdent)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

generateMethod · 0.80

Calls 2

rust_structMethod · 0.80
variantMethod · 0.80

Tested by

no test coverage detected