Skip to main content
← Back to kicad-monkey Rust Docs kicad-monkey Rust Crate API Reference

Crate kicad_monkey_codegen

Crate kicad_monkey_codegen 

Source
Expand description

Deterministic Rust projection from TypeSpec-generated JSON Schemas.

ModulesΒ§

config_projection πŸ”’
Preserve authored config overrides: missing, empty, and null are distinct.
text_contract πŸ”’
Record schemas whose parts are the text engine’s own contract (cad_text_realization::contract): typify refers to those types instead of emitting copies.

EnumsΒ§

FieldPresence πŸ”’

ConstantsΒ§

BOARD_FOOTPRINT_OPERATION_KINDS πŸ”’
PLOTTER_OPERATION_KINDS πŸ”’
SCHEMAS πŸ”’
SCHEMATIC_RECORD_KINDS πŸ”’
SCHEMATIC_SHEET_OPERATION_KINDS πŸ”’
SCHEMATIC_SYMBOL_OPERATION_KINDS πŸ”’

FunctionsΒ§

collect_object_shape πŸ”’
flatten_board_footprint_operation_extensions πŸ”’
generate πŸ”’
generate_standalone πŸ”’
Generate a downstream-owned contract without modifying Monkey’s catalog.
has_deserializer πŸ”’
is_nested_option_type πŸ”’
is_option_type πŸ”’
literal_kind_for_structure πŸ”’
main πŸ”’
project_for_typify πŸ”’
project_generated_presence πŸ”’
project_kind_deserializer πŸ”’
project_presence_field πŸ”’
project_schema_presence πŸ”’
project_schematic_junction_color πŸ”’
project_schematic_record_string πŸ”’
project_schematic_request_fields πŸ”’
project_schematic_segment_layers πŸ”’
project_tri_state_via_drill_layers πŸ”’
promote_disjoint_record_unions πŸ”’
replace_serde_presence_attr πŸ”’
rustfmt πŸ”’
schema_allows_null πŸ”’
schema_presence_rules πŸ”’
serde_field_name πŸ”’
uses_strict_presence_projection πŸ”’
validate_operation_union πŸ”’
validate_plotter_operation_kinds πŸ”’