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

Function generate_wrapper_struct

src/generation.rs:8575–9115  ·  view source on GitHub ↗

This is used mostly for when thing are tagged have specific ranges.

(
    gen_scope: &mut GenerationScope,
    types: &IntermediateTypes,
    type_name: &RustIdent,
    field_type: &RustType,
    min_max: Option<(Option<i128>, Option<i128>)>,
    struct_config: &RustS

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
create_base_rust_structFunction · 0.85
encoding_fieldsFunction · 0.85
make_encoding_structFunction · 0.85
make_serialization_implFunction · 0.85
encoding_var_names_strFunction · 0.85
for_wasm_paramMethod · 0.80
can_new_failMethod · 0.80
lineMethod · 0.80

Tested by

no test coverage detected