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

Function create_base_wasm_wrapper

src/generation.rs:4489–4504  ·  view source on GitHub ↗

default_structure will have it be a DIRECT wrapper with a tuple field of rust_lib::{ident} this will include generating to/from traits automatically

(
    gen_scope: &GenerationScope,
    types: &IntermediateTypes<'_>,
    ident: &'a RustIdent,
    default_structure: bool,
    cli: &Cli,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

codegen_structFunction · 0.85
codegen_group_choicesFunction · 0.85
generate_wrapper_structFunction · 0.85
generate_intFunction · 0.85

Calls 3

create_base_wasm_structFunction · 0.85

Tested by

no test coverage detected