Structural metadata for an Elixir typespec lowered by RustQ.
RustQ.Spec.type/2 and RustQ.Spec.aliases/1 return this struct. The
:kind field is the primary semantic classification (:f64, :bool,
:tuple, :struct, :enum, :type, and so on). The :ast field carries
the RustQ Rust type AST used for rendering, :rust is its rendered Rust type,
and :meta carries shape-specific metadata such as:
:elementsfor tuple element types:fieldsfor map/struct field types:elixir_namefor local aliases and enum aliases:elixir_module,:elixir_type, and:elixir_argsfor external Elixir remote types such asSkia.Path.t()
Prefer consuming this structure directly at codegen boundaries instead of parsing rendered Rust type strings.
Summary
Functions
Returns the semantic category for a lowered RustQ type.
Returns true when a type originated from a specific Elixir remote type.
Types
Functions
Returns the semantic category for a lowered RustQ type.
Returns true when a type originated from a specific Elixir remote type.