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

Function codegen_struct

src/generation.rs:5796–6955  ·  view source on GitHub ↗
(
    gen_scope: &mut GenerationScope,
    types: &IntermediateTypes,
    name: &RustIdent,
    tag: Option<usize>,
    record: &RustRecord,
    config: &RustStructConfig,
    cli: &Cli,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

generateMethod · 0.85

Calls 15

create_base_wasm_wrapperFunction · 0.85
bounds_check_if_blockFunction · 0.85
create_base_rust_structFunction · 0.85
make_encoding_structFunction · 0.85
encoding_fieldsFunction · 0.85
key_encoding_fieldFunction · 0.85
create_serialize_implsFunction · 0.85
encoding_var_names_strFunction · 0.85

Tested by

no test coverage detected