cartridge_generation

Structs

CommonProperty

Common property metadata passed into cartridge codegen templates.


ComponentInfo

Template context for generating a component's cartridge code.

Properties

type_id

Type: TypeId

pascal_identifier

Type: String

symbol_identifier

Type: String

Collision-free Rust helper prefix derived from the complete component type identity.

primitive_instance_import_path

Type: Option<String>

properties

Type: Vec<PropertyInfo>

handlers

Type: Vec<HandlerInfo>


HandlerInfo

Event handler entry passed into cartridge codegen templates.

Properties

name

Type: String

args_type

Type: Option<String>


PropertyInfo

Property entry passed into cartridge codegen templates.

Properties

name

Type: String

property_type

Type: PropertyDefinition