Skip to main content

Module type_map

Module type_map 

Source

Structs§

MappedType
Mapped type information for code generation.

Enums§

ConversionKind
ParamDirection
Classification of a function parameter.

Functions§

container_elem_type_str
Resolve the element type string for use in container type construction (e.g., UObjectRef<Actor> for UeArray, or K, V for UeMap).
container_element_rust_type
Map an inner property (inside a container) to its Rust ContainerElement type. When ctx is provided, validates that referenced types are in enabled modules and returns the actual typed names (e.g., UObjectRef<Actor> instead of UObjectHandle). Returns None if the inner type is unsupported for container elements.
container_param_input_type
Resolve the Rust input type for a container parameter (e.g., &[Actor]).
container_param_output_type
Resolve the Rust output type for a container parameter (e.g., Vec<Actor>).
is_container_param
Check if a function parameter is a container type (Array, Map, Set).
is_supported_type
Check if a property type is supported in Phase 3.
map_property_type
Map a UE property type string to its Rust/C++ type information.
param_direction
Map a param to its direction based on prop_flags.
resolve_container_rust_type
Resolve the full Rust type for a container property. Returns None if any inner type is unsupported.